package
Version:
v0.0.0-...-e52266a
Opens a new window with list of versions in this module.
Published: May 1, 2023
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 RegistrationRequest struct {
Username *string `json:"username"`
Password *string `json:"password"`
}
type TokenHandler interface {
GetTokens(username, password *string) (accessToken, refreshToken *string, err error)
RefreshAccessToken(token *string) (accessToken, refreshToken *string, err error)
}
type TokenRequest struct {
Username *string `form:"username"`
Password *string `form:"password"`
RefreshToken *string `form:"refresh_token"`
}
type UserModel struct {
Username *string `json:"username"`
Status *string `json:"status"`
Enabled *bool `json:"enabled"`
Created *time.Time `json:"created"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.