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
Namespace: Grpc.Core
Assembly: Grpc.Core.Api.dll
Syntax
public abstract class ChannelCredentialsConfiguratorBase : object
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 |