Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Registry ¶
func Registry(key token.GRANT_TYPE, value Issuer)
Types ¶
type Issuer ¶
type Issuer interface { Config() error TokenIssuer }
type TokenIssuer ¶
type TokenIssuer interface {
IssueToken(context.Context, *token.IssueTokenRequest) (*token.Token, error)
}
func Get ¶
func Get(key token.GRANT_TYPE) (TokenIssuer, error)
Click to show internal directories.
Click to hide internal directories.