Click or drag to resize
AuthInterceptors Class
Factory methods to create authorization interceptors. Interceptors created can be registered with gRPC client classes (autogenerated client stubs that inherit from ClientBase).
Inheritance Hierarchy
SystemObject
  Grpc.AuthAuthInterceptors

Namespace: Grpc.Auth
Assembly: Grpc.Auth (in Grpc.Auth.dll) Version: 0.6.1.0
Syntax
public static class AuthInterceptors

The AuthInterceptors type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFromAccessToken
Creates OAuth2 interceptor that will use given access token as authorization.
Public methodStatic memberFromCredential
Creates interceptor that will obtain access token from any credential type that implements ITokenAccess. (e.g. GoogleCredential).
Top
See Also