Class ChannelCredentials
Client-side channel credentials. Used for creation of a secure channel.
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 ChannelCredentials
Constructors
ChannelCredentials()
Creates a new instance of channel credentials
Declaration
public ChannelCredentials()
Properties
Insecure
Returns instance of credentials that provides no security and will result in creating an unsecure channel with no encryption whatsoever.
Declaration
public static ChannelCredentials Insecure { get; }
Property Value
Type | Description |
---|---|
ChannelCredentials |
Methods
Create(ChannelCredentials, CallCredentials)
Creates a new instance of ChannelCredentials
class by composing
given channel credentials with call credentials.
Declaration
public static ChannelCredentials Create(ChannelCredentials channelCredentials, CallCredentials callCredentials)
Parameters
Type | Name | Description |
---|---|---|
ChannelCredentials | channelCredentials | Channel credentials. |
CallCredentials | callCredentials | Call credentials. |
Returns
Type | Description |
---|---|
ChannelCredentials | The new composite |
InternalPopulateConfiguration(ChannelCredentialsConfiguratorBase, Object)
Populates channel credentials configurator with this instance's configuration. End users never need to invoke this method as it is part of internal implementation.
Declaration
public abstract void InternalPopulateConfiguration(ChannelCredentialsConfiguratorBase configurator, object state)
Parameters
Type | Name | Description |
---|---|---|
ChannelCredentialsConfiguratorBase | configurator | |
System.Object | state |