package
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Sep 15, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type CreateUserResponse struct {
ID string `json:"id" example:"1"`
TokenType string `json:"tokenType" example:"Bearer"`
AccessToken string `json:"accessToken" example:"1"`
RefreshToken string `json:"refreshToken" example:"token"`
ExpiresIn int `json:"expiresIn" example:"1687957803"`
}
type ExchangeCodeResponse struct {
Code string `json:"code" example:"123456"`
}
type IDResp struct {
ID string `json:"id" example:"1"`
}
type Jwks struct {
Keys []JSONWebKey `json:"keys"`
}
type RightResponse struct {
Name string `json:"name" example:"default"`
}
type RoleResponse struct {
Name string `json:"name" example:"admin"`
}
type TokenResponse struct {
TokenType string `json:"tokenType" example:"Bearer"`
AccessToken string `json:"accessToken" example:"token"`
RefreshToken string `json:"refreshToken" example:"token"`
ExpiresIn int `json:"expiresIn" example:"1687957803"`
}
type UserResponse struct {
ID string `json:"id" example:"1"`
Username string `json:"username" example:"test"`
Email string `json:"email" example:"test@test.com"`
Role string `json:"role" example:"basic"`
Rights []string `json:"rights"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.