Documentation
¶
Index ¶
- type BasicRegisterRequest
- type CompleteRegisterRequest
- type CredentialResponse
- type ForgotPasswordRequest
- type GetPermissionRolesRequest
- type GetUsersListRequest
- type LoginRequest
- type NewRoleRequest
- type OTPData
- type PermissionResponse
- type ResetPasswordRequest
- type RoleResponse
- type UpdateProfileRequest
- type UpdateRoleRequest
- type UpdateUserRolesRequest
- type UserInfoResponse
- type UserResponse
- type VerifyEmailRequest
- type VerifyPhoneRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BasicRegisterRequest ¶
type CompleteRegisterRequest ¶
type CredentialResponse ¶
type ForgotPasswordRequest ¶
type ForgotPasswordRequest struct {
Phone string
}
type GetUsersListRequest ¶
type LoginRequest ¶
type NewRoleRequest ¶
type PermissionResponse ¶
type ResetPasswordRequest ¶
type RoleResponse ¶
type RoleResponse struct {
ID uint `json:"id"`
Name string `json:"name"`
Permissions []PermissionResponse `json:"permissions"`
}
type UpdateProfileRequest ¶
type UpdateRoleRequest ¶
type UpdateUserRolesRequest ¶
type UserInfoResponse ¶
type UserInfoResponse struct {
AccessToken string `json:"accessToken"`
RefreshToken string `json:"refreshToken"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
Permissions []PermissionResponse `json:"permissions"`
}
type UserResponse ¶
type UserResponse struct {
ID uint `json:"id"`
}
type VerifyEmailRequest ¶
type VerifyPhoneRequest ¶
Click to show internal directories.
Click to hide internal directories.