Abstract
Protected
constructorOptional
callCredentials: CallCredentialsProtected
callAbstract
_equalsCheck whether two channel credentials objects are equal. Two secure credentials are equal if they were constructed with the same parameters.
The other ChannelCredentials Object
Gets the set of per-call credentials associated with this instance.
Abstract
_getAbstract
_isAbstract
composeReturns a copy of this object with the included set of per-call credentials expanded to include callCredentials.
A CallCredentials object to associate with this instance.
Static
createReturn a new ChannelCredentials instance with credentials created using the provided secureContext. The resulting instances can be used to construct a Channel that communicates over TLS. gRPC will not override anything in the provided secureContext, so the environment variables GRPC_SSL_CIPHER_SUITES and GRPC_DEFAULT_SSL_ROOTS_FILE_PATH will not be applied.
The return value of tls.createSecureContext()
Optional
verifyOptions: VerifyOptionsAdditional options to modify certificate verification
Static
createReturn a new ChannelCredentials instance with no credentials.
Static
createReturn a new ChannelCredentials instance with a given set of credentials. The resulting instance can be used to construct a Channel that communicates over TLS.
Optional
rootCerts: null | BufferThe root certificate data.
Optional
privateKey: null | BufferThe client certificate private key, if available.
Optional
certChain: null | BufferThe client certificate key chain, if available.
Optional
verifyOptions: VerifyOptionsAdditional options to modify certificate verification
Generated using TypeDoc
A class that contains credentials for communicating over a channel, as well as a set of per-call credentials, which are applied to every method call made over a channel initialized with an instance of this class.