AuthContext Class |
Namespace: Grpc.Core
The AuthContext type exposes the following members.
| Name | Description | |
|---|---|---|
| IsPeerAuthenticated |
Returns true if the peer is authenticated.
| |
| PeerIdentity |
Gets properties that represent the peer identity (there can be more than one). Returns an empty collection
if the peer is not authenticated.
| |
| PeerIdentityPropertyName |
Gets the name of the property that indicates the peer identity. Returns null
if the peer is not authenticated.
| |
| Properties |
Gets the auth properties of this context.
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| FindPropertiesByName |
Returns the auth properties with given name (there can be more than one).
If no properties of given name exist, an empty collection will be returned.
| |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |