package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jul 15, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ConfigData struct {
TrustDomain []string `json:"trust_domain"`
AuthorizationEndpoint string `json:"authorization_endpoint"`
TokenEndpoint string `json:"token_endpoint"`
UserinfoEndpoint string `json:"userinfo_endpoint"`
DefaultScope string `json:"default_scope"`
}
type ExchangeTokenByCodeRequest struct {
Code string `json:"code"`
ClientID string `json:"client_id"`
ClientSecret string `json:"client_secret"`
Scope string `json:"scope"`
RedirectURI string `json:"redirect_uri"`
}
type GlobalResponse struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data interface{} `json:"data"`
}
type RefreshTokenRequest struct {
ClientID string `json:"client_id"`
ClientSecret string `json:"client_secret"`
RefreshToken string `json:"refresh_token"`
}
type ReqApiData struct {
Method string `json:"method"`
ApiAddr string `json:"api_addr"`
AccessToken string `json:"access_token"`
AccessTokenType string `json:"access_token_type"`
HttpBody string `json:"http_body"`
}
type ReqCredentialData struct {
ClientId string `json:"client_id"`
ClientSecret string `json:"client_secret"`
}
type ReqPasswordData struct {
ClientId string `json:"client_id"`
ClientSecret string `json:"client_secret"`
Username string `json:"username"`
Password string `json:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.