package
Version:
v0.8.0
Opens a new window with list of versions in this module.
Published: Jun 17, 2025
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AWSCredentials struct {
Version int
AWSAccessKey string `json:"AccessKeyId"`
AWSSecretKey string `json:"SecretAccessKey"`
AWSSessionToken string `json:"SessionToken"`
PrincipalARN string `json:"-"`
Expires time.Time `json:"Expiration"`
}
type LoginParams struct {
ResponseType string `url:"response_type,omitempty"`
ClientId string `url:"client_id,omitempty"`
RedirectUri string `url:"redirect_uri,omitempty"`
Display string `url:"display,omitempty"`
Scope string `url:"scope,omitempty"`
}
type TokenResponse struct {
AccessToken string `json:"access_token"`
IDToken string `json:"id_token"`
RefreshToken string `json:"refresh_token"`
ExpiresIn int64 `json:"expires_in"`
RefreshExpiresIn int64 `json:"refresh_expires_in"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.