MCPcopy
hub / github.com/grpc/grpc-go / oauthAccess

Struct oauthAccess

credentials/oauth/oauth.go:119–121  ·  view source on GitHub ↗

oauthAccess supplies PerRPCCredentials from a given token.

Source from the content-addressed store, hash-verified

117
118// oauthAccess supplies PerRPCCredentials from a given token.
119type oauthAccess struct {
120 token oauth2.Token
121}
122
123// NewOauthAccess constructs the PerRPCCredentials using a given token.
124//

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected