Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LoginRequest ¶
type LoginResponse ¶
type LoginResponse struct {
TenantID uint64 `json:"tenant_id"`
TenantSchemaName string `json:"tenant_schema_name"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Email string `json:"email"`
RoleID int8 `json:"role_id"`
Language string `json:"language"`
// https://pkg.go.dev/golang.org/x/oauth2#Token
AccessToken string `json:"access_token"`
TokenType string `json:"token_type,omitempty"`
RefreshToken string `json:"refresh_token"`
Expiry time.Time `json:"expiry,omitempty"`
}
type RefreshTokenRequest ¶
type RefreshTokenResponse ¶
type RegisterRequest ¶
type RegisterResponse ¶
type RegisterResponse struct {
Message string `json:"message"`
}
Click to show internal directories.
Click to hide internal directories.