Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Generator ¶
type Generator interface {
// Get a token using credentials in the default credentials chain.
Get(*credentials.Credentials, string, string) (*Token, error)
// FormatJSON returns the client auth formatted json for the ExecCredential auth
FormatJSON(Token) (string, error)
}
Generator provides new JWT tokens
func NewGenerator ¶
NewGenerator creates a Generator and returns it.
Click to show internal directories.
Click to hide internal directories.