package
Version:
v0.0.0-...-a59a69c
Opens a new window with list of versions in this module.
Published: Jan 23, 2019
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type AuthReponse struct {
ID bson.ObjectId `bson:"_id,omitempty" json:"id"`
Username string `json:"username"`
CSRFToken string `json:"csrf_token"`
}
type AuthToken struct {
ID bson.ObjectId `bson:"_id,omitempty" json:"id"`
Jti string `json:"jti"`
}
type RefreshToken struct {
ID bson.ObjectId `bson:"_id,omitempty" json:"id"`
Token string `json:"token"`
}
type User struct {
ID bson.ObjectId `bson:"_id,omitempty" json:"id"`
FirstName string `json:"firstname"`
LastName string `json:"lastname"`
Username string `json:"username"`
Password string `json:"password"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.