Documentation ¶
Index ¶
- Constants
- func AccessAuthentication(token string) models.Session
- func AccessTokenRequest(data utils.H) (utils.H, error)
- func AuthorizationCodeGrant(data utils.H) (utils.H, error)
- func ClientAuthentication(authorizationHeader string) models.Client
- func RefreshTokenRequest(data utils.H) (utils.H, error)
Constants ¶
View Source
const ( // Error types InvalidRequest string = "invalid_request" AccessDenied string = "access_denied" UnsupportedResponseType string = "unsupported_response_type" InvalidScope string = "invalid_scope" ServerError string = "server_error" UnsupportedGrantType string = "unsupported_grant_type" InvalidGrant string = "invalid_grant" InvalidSession string = "invalid_session" // Grant types AuthorizationCode string = "authorization_code" RefreshToken string = "refresh_token" Password string = "password" ClientCredentials string = "client_credentials" // Response types Code string = "code" Token string = "token" )
Variables ¶
This section is empty.
Functions ¶
func AccessAuthentication ¶
func ClientAuthentication ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.