Class ChannelCredentials
Client-side channel credentials. Used for creation of a secure channel.
Inheritance
System.Object
ChannelCredentials
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.dll
Syntax
public abstract class 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 |