Click or drag to resize
GoogleAuthInterceptorsFromCredential Method
Creates an AsyncAuthInterceptor 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.12.0.0
Syntax
public static AsyncAuthInterceptor FromCredential(
	ITokenAccess credential
)

Parameters

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

Return Value

Type: AsyncAuthInterceptor
The interceptor.
See Also