package
Version:
v1.10.7
Opens a new window with list of versions in this module.
Published: Apr 25, 2024
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 DeviceCodeRequest struct {
ClientId string `json:"client_id"`
Scope string `json:"scope"`
Audience string `json:"audience"`
}
type DeviceCodeResponse struct {
DeviceCode string `json:"device_code"`
UserCode string `json:"user_code"`
VerificationUrl string `json:"verification_uri"`
VerificationUrlComplete string `json:"verification_uri_complete"`
ExpiresIn int `json:"expires_in"`
Interval int `json:"interval"`
}
type RequestAccessToken struct {
GrantType string `json:"grant_type"`
DeviceCode string `json:"device_code"`
ClientId string `json:"client_id"`
}
type ResponseAbout struct {
Sub string `json:"sub"`
Email string `json:"email"`
EmailVerified bool `json:"email-verified"`
}
type ResponseAccessToken struct {
AccessToken string `json:"access_token"`
Scope string `json:"scope"`
IdToken string `json:"id_token"`
TokenType string `json:"token_type"`
ExpireIn string `json:"expire_in"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.