Class ChannelCredentialsConfiguratorBase
Base class for objects that can consume configuration from CallCredentials
objects.
Note: experimental API that can change or be removed without any prior notice.
Inheritance
System.Object
ChannelCredentialsConfiguratorBase
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Grpc.Core
Assembly: Grpc.Core.Api.dll
Syntax
public abstract class ChannelCredentialsConfiguratorBase
Methods
SetCompositeCredentials(Object, ChannelCredentials, CallCredentials)
Configures the credentials to use composite channel credentials (a composite of channel credentials and call credentials).
Declaration
public abstract void SetCompositeCredentials(object state, ChannelCredentials channelCredentials, CallCredentials callCredentials)
Parameters
Type | Name | Description |
---|---|---|
System.Object | state | |
ChannelCredentials | channelCredentials | |
CallCredentials | callCredentials |
SetInsecureCredentials(Object)
Configures the credentials to use insecure credentials.
Declaration
public abstract void SetInsecureCredentials(object state)
Parameters
Type | Name | Description |
---|---|---|
System.Object | state |
SetSslCredentials(Object, String, KeyCertificatePair, VerifyPeerCallback)
Configures the credentials to use SslCredentials
.
Declaration
public abstract void SetSslCredentials(object state, string rootCertificates, KeyCertificatePair keyCertificatePair, VerifyPeerCallback verifyPeerCallback)
Parameters
Type | Name | Description |
---|---|---|
System.Object | state | |
System.String | rootCertificates | |
KeyCertificatePair | keyCertificatePair | |
VerifyPeerCallback | verifyPeerCallback |