GoogleGrpcCredentialsGetApplicationDefaultAsync Method |
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.
Namespace: Grpc.AuthAssembly: Grpc.Auth (in Grpc.Auth.dll) Version: 0.12.0.0
Syntaxpublic static Task<ChannelCredentials> GetApplicationDefaultAsync()
Public Shared Function GetApplicationDefaultAsync As Task(Of ChannelCredentials)
public:
static Task<ChannelCredentials^>^ GetApplicationDefaultAsync()
static member GetApplicationDefaultAsync : unit -> Task<ChannelCredentials>
Return Value
Type:
TaskChannelCredentialsThe
ChannelCredentials instance.
See Also