package
Version:
v0.1.0-alpha
Opens a new window with list of versions in this module.
Published: Aug 21, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type APIError struct {
Message string `json:"message"`
}
type Credentials struct {
Username string `json:"username"`
Password string `json:"password"`
}
type ErrorResponse struct {
Message string `json:"message"`
}
type LoginBody struct {
Username string `json:"username"`
Password string `json:"password"`
}
type RefreshToken struct {
Token string `json:"refresh_token"`
}
RefreshToken - TODO comment
type Response struct {
TokenType string `json:"token_type"`
ExpiresIn float64 `json:"expires_in"`
ExpiresOn int64 `json:"expires_on"`
Tokens
}
Response - TODO comment
type Tokens struct {
AccessToken string `json:"access_token"`
RefreshToken string `json:"refresh_token"`
}
Tokens - TODO comment
Source Files
¶
Click to show internal directories.
Click to hide internal directories.