Click or drag to resize

GoogleGrpcCredentialsFromAccessToken Method

Creates an instance of CallCredentials that will use given access token to authenticate with a gRPC service.

Namespace:  Grpc.Auth
Assembly:  Grpc.Auth (in Grpc.Auth.dll) Version: 1.2.0-dev
Syntax
public static CallCredentials FromAccessToken(
	string accessToken
)

Parameters

accessToken
Type: SystemString
OAuth2 access token.

Return Value

Type: CallCredentials
The MetadataCredentials instance.
See Also