Documentation ¶
Index ¶
- type AccountAPI
- type AccountInfoResponse
- type LoginRequest
- type LoginResponse
- type MetaResponse
- type OTPDisableRequest
- type OTPGenerateResponse
- type OTPValidateRequest
- type OTPVerifyRequest
- type PasswordResetRequest
- type PasswordResetVerifyRequest
- type PongResponse
- type RegisterRequest
- type UpdateEmailRequest
- type UpdatePasswordRequest
- type UploadLimitResponse
- type VerifyEmailRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountAPI ¶
type AccountAPI struct {
// contains filtered or unexported fields
}
func NewAccountAPI ¶
func NewAccountAPI(ctx core.Context) *AccountAPI
func (*AccountAPI) AuthTokenName ¶
func (a *AccountAPI) AuthTokenName() string
func (*AccountAPI) Name ¶
func (a *AccountAPI) Name() string
func (*AccountAPI) Subdomain ¶
func (a *AccountAPI) Subdomain() string
type AccountInfoResponse ¶
type LoginRequest ¶
type LoginResponse ¶
type MetaResponse ¶
type MetaResponse struct {
Domain string `json:"domain"`
}
type OTPDisableRequest ¶
type OTPDisableRequest struct {
Password string `json:"password"`
}
type OTPGenerateResponse ¶
type OTPGenerateResponse struct {
OTP string `json:"otp"`
}
type OTPValidateRequest ¶
type OTPValidateRequest struct {
OTP string `json:"otp"`
}
type OTPVerifyRequest ¶
type OTPVerifyRequest struct {
OTP string `json:"otp"`
}
type PasswordResetRequest ¶
type PasswordResetRequest struct {
Email string `json:"email"`
}
type PongResponse ¶
type RegisterRequest ¶
type UpdateEmailRequest ¶
type UpdatePasswordRequest ¶
type UploadLimitResponse ¶
type UploadLimitResponse struct {
Limit uint64 `json:"limit"`
}
type VerifyEmailRequest ¶
Click to show internal directories.
Click to hide internal directories.