package
Version:
v0.0.0-...-f85edf5
Opens a new window with list of versions in this module.
Published: Jan 6, 2022
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 AuthTokenDTO struct {
AccessToken string `json:"accessToken"`
RefreshToken string `json:"refreshToken"`
}
type CreateAccessTokenDTO struct {
UserId string `json:"userId"`
RefreshTokenId string `json:"refreshTokenId"`
ExpiresAt time.Time `json:"expiresAt"`
}
type CreateAuthTokenDTO struct {
Email string `json:"email"`
Password string `json:"password"`
}
type CreateRefreshTokenDTO struct {
UserId string `json:"userId"`
}
type CreatedTokenDTO struct {
Id string `json:"id"`
}
type UpdateAuthDTO struct {
RefreshToken string `json:"refreshToken"`
}
type UserDTO struct {
Id string `json:"id"`
Email string `json:"email"`
Password string `json:"password"`
}
type ViewerDTO struct {
Id string `json:"id"`
Email string `json:"email"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.