Click or drag to resize
AuthInterceptorsFromCredential Method
Creates interceptor that will obtain access token from any credential type that implements ITokenAccess. (e.g. GoogleCredential).

Namespace: Grpc.Auth
Assembly: Grpc.Auth (in Grpc.Auth.dll) Version: 0.7.0.0
Syntax
public static HeaderInterceptor FromCredential(
	ITokenAccess credential
)

Parameters

credential
Type: ITokenAccess
The credential to use to obtain access tokens.

Return Value

Type: HeaderInterceptor
The header interceptor.
See Also