Click or drag to resize

GoogleAuthInterceptorsFromAccessToken Method

Creates an AsyncAuthInterceptor that will use given access token as authorization.

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

Parameters

accessToken
Type: SystemString
OAuth2 access token.

Return Value

Type: AsyncAuthInterceptor
The interceptor.
See Also