Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromClient ¶
func NewFromClient(client *jwtclient.Client) (credentials.PerRPCCredentials, error)
NewFromClient is used to create a new grpc credentials receiver which conforms to the credentials interface.
Types ¶
type Creds ¶
type Creds struct {
// contains filtered or unexported fields
}
Creds is our PerRPCCredentials implementation receiver struct.
func (*Creds) GetRequestMetadata ¶
GetRequestMetadata will retrieve a JWT from the provided client.
func (*Creds) RequireTransportSecurity ¶
RequireTransportSecurity is required by the interface and should return true. TODO: Return true.
Click to show internal directories.
Click to hide internal directories.