<PackageReference Include="Grpc.Core.Api" Version="2.76.0" />

Grpc.Core.ChannelCredentialsConfiguratorBase

public abstract 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.

public abstract void SetCompositeCredentials(object state, ChannelCredentials channelCredentials, CallCredentials callCredentials)

Configures the credentials to use composite channel credentials (a composite of channel credentials and call credentials).

public abstract void SetInsecureCredentials(object state)

Configures the credentials to use insecure credentials.

public abstract void SetSslCredentials(object state, string rootCertificates, KeyCertificatePair keyCertificatePair, VerifyPeerCallback verifyPeerCallback)

Configures the credentials to use SslCredentials.