Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAuthenticator ¶
func NewAuthenticator(config CommandDetails) grpc_credentials.PerRPCCredentials
Types ¶
type Authenticator ¶
type Authenticator struct { // Set by the config Cmd string Args []string Env []string // contains filtered or unexported fields }
Authenticator wraps an external command + environment that can be used to generate an access token.
func (*Authenticator) GetRequestMetadata ¶
func (*Authenticator) RequireTransportSecurity ¶
func (a *Authenticator) RequireTransportSecurity() bool
type CommandDetails ¶
Click to show internal directories.
Click to hide internal directories.