Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct {
Context map[string]interface{} `json:"context"`
ErrorCode string `json:"errorCode"`
ErrorMessage string `json:"errorMessage"`
}
Error type to help parse errors of IAM calls
type Token ¶
type Token struct {
// Sets the access token
AccessToken string `json:"access_token"`
// Sets the refresh token
RefreshToken string `json:"refresh_token"`
// Sets the token type
TokenType string `json:"token_type"`
// Sets the expiry timestamp
ExpiresIn int64 `json:"expires_in"`
// Sets the expiration timestamp
Expiration int64 `json:"expiration"`
}
IBMIAMToken holder for the IBM IAM token details
Click to show internal directories.
Click to hide internal directories.