Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllowedTokenAuthMethods = map[GrantType][]TokenAuthType{ GrantTypeClientCredentials: { TokenAuthTypeClientSecretBasic, TokenAuthTypeClientSecretPost, }, }
Functions ¶
This section is empty.
Types ¶
type GrantType ¶
type GrantType string
const ( // GrantTypeAuthorizationCode GrantType = "authorization_code" GrantTypeClientCredentials GrantType = "client_credentials" )
type TokenAuthType ¶
type TokenAuthType string
const ( TokenAuthTypeNone TokenAuthType = "NONE" TokenAuthTypeClientSecretBasic TokenAuthType = "CLIENT_SECRET_BASIC" TokenAuthTypeClientSecretPost TokenAuthType = "CLIENT_SECRET_POST" )
Click to show internal directories.
Click to hide internal directories.