Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authenticator ¶
type Authenticator struct {
// contains filtered or unexported fields
}
An Authenticator is used to authenticate the rpc requests.
func NewAuthenticator ¶
NewAuthenticator returns an Authenticator.
func (*Authenticator) Authenticate ¶
func (a *Authenticator) Authenticate(ctx context.Context) error
Authenticate authenticates the given ctx.
type Credential ¶
A Credential is used to authenticate.
func ParseCredential ¶
func ParseCredential(ctx context.Context) Credential
ParseCredential parses credential from given ctx.
func (*Credential) GetRequestMetadata ¶
GetRequestMetadata gets the request metadata.
func (*Credential) RequireTransportSecurity ¶
func (c *Credential) RequireTransportSecurity() bool
RequireTransportSecurity always returns false.
Click to show internal directories.
Click to hide internal directories.