Click or drag to resize
GoogleGrpcCredentials Class
Factory/extension methods to create instances of ChannelCredentials and CallCredentials classes based on credential objects originating from Google auth library.
Inheritance Hierarchy
SystemObject
  Grpc.AuthGoogleGrpcCredentials

Namespace: Grpc.Auth
Assembly: Grpc.Auth (in Grpc.Auth.dll) Version: 0.12.0.0
Syntax
public static class GoogleGrpcCredentials

The GoogleGrpcCredentials type exposes the following members.

Methods
  NameDescription
Public methodStatic memberFromAccessToken
Creates an instance of CallCredentials that will use given access token to authenticate with a gRPC service.
Public methodStatic memberGetApplicationDefaultAsync
Retrieves an instance of Google's Application Default Credentials using GoogleCredential.GetApplicationDefaultAsync() and converts them into a gRPC ChannelCredentials that use the default SSL credentials.
Public methodStatic memberToCallCredentials
Converts a ITokenAccess (e.g. GoogleCredential) object into a gRPC CallCredentials object.
Public methodStatic memberToChannelCredentials
Converts a ITokenAccess (e.g. GoogleCredential) object into a gRPC ChannelCredentials object. Default SSL credentials are used.
Top
See Also