package
Version:
v2.9.0
Opens a new window with list of versions in this module.
Published: Jan 11, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type LoginRequest struct {
Email string `json:"email"`
Password string `json:"password,omitempty"`
TwoFactorToken string `json:"2FA_token,omitempty"`
Description string `json:"description,omitempty"`
Expires bool `json:"expires"`
}
type LoginResponse struct {
Token *Token `json:"token"`
TwoFactorRequired bool `json:"-"`
WrongPassword bool `json:"-"`
}
type Token struct {
ID string `json:"id"`
UserID string `json:"user_id"`
AccessKey string `json:"access_key"`
SecretKey string `json:"secret_key"`
OrganizationID string `json:"organization_id"`
ProjectID string `json:"project_id"`
}
Token represents a Token
Source Files
¶
Click to show internal directories.
Click to hide internal directories.