package
Version:
v1.2.1
Opens a new window with list of versions in this module.
Published: Aug 12, 2023
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Route(root iris.Party)
type Access struct {
AccessToken string `json:"accessToken,omitempty"`
TokenType TokenType `json:"tokenType,omitempty"`
Scope string `json:"scope,omitempty"`
ExpiresIn int64 `json:"expiresIn,omitempty"`
}
type AccessTokenResp struct {
app.Response
Access
RefreshToken string `json:"refreshToken,omitempty"`
}
type CredentialTokenResp struct {
app.Response
Access
}
const (
AuthorizationCode GrantType = "authorization_code"
ClientCredentials GrantType = "client_credentials"
Refreshing GrantType = "refresh_token"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.