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: 0.12.0.0
Syntax
public static CallCredentials FromAccessToken(
	string accessToken
)

Parameters

accessToken
Type: SystemString
OAuth2 access token.

Return Value

Type: CallCredentials
The MetadataCredentials instance.
See Also