Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GrantType ¶
type GrantType string
GrantType authorization model
const ( // AuthorizationCode authorization_code grant type AuthorizationCode GrantType = "authorization_code" // PasswordCredentials password grant type PasswordCredentials GrantType = "password" // ClientCredentials client_credentials grant type ClientCredentials GrantType = "client_credentials" // Refreshing refresh_token grant type Refreshing GrantType = "refresh_token" //Implicit implicit grant type Implicit GrantType = "implicit" // DeviceCode device_code grant type DeviceCode GrantType = "urn:ietf:params:oauth:grant-type:device_code" )
define authorization model
type ResponseType ¶
type ResponseType string
ResponseType the type of authorization request
const ( Code ResponseType = "code" Token ResponseType = "token" IDToken ResponseType = "id_token" )
define the type of authorization request
func (ResponseType) String ¶
func (rt ResponseType) String() string
Click to show internal directories.
Click to hide internal directories.