package
Version:
v0.0.0-...-ff4c41b
Opens a new window with list of versions in this module.
Published: Apr 3, 2024
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 AuthData struct {
Email string `json:"email"`
Scopes []string `json:"scopes"`
}
type AuthInput struct {
Token string
SecretKey []byte
}
type CompleteRegistrationInput struct {
FirstName string `json:"first_name"`
MiddleName string `json:"middle_name"`
LastName string `json:"last_name"`
Email string `json:"email"`
Password string `json:"password"`
OTP string `json:"otp"`
}
type OtpInput struct {
Email string `json:"email"`
}
type OtpResult struct {
Email string `json:"email"`
OTP []byte `json:"otp"`
}
type PasswordResetCodeResult struct {
Email string `json:"email"`
Code string `json:"code"`
}
type PasswordResetInput struct {
Email string `json:"email"`
Password string `json:"password"`
Code string `json:"code"`
}
type PasswordResult struct {
Email string `json:"email"`
}
type Role struct {
ID int `json:"id"`
Name string `json:"name"`
Scopes []string `json:"scopes"`
}
type SignInInput struct {
Email string `json:"email"`
Password string `json:"password"`
}
type SignInResult struct {
AccessToken string `json:"access_token"`
AuthData AuthData `json:"client_info"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.