Documentation ¶
Index ¶
- Variables
- func Add(Model authinterfaces.SessionUser) string
- func FindToActiveIdUser(idUser string) authinterfaces.SessionUser
- func FindToId(id string) authinterfaces.SessionUser
- func FindToToken(token string) authinterfaces.SessionUser
- func GetClaimForToken(tokenHeader string) authinterfaces.ClaimSession
- func GetIdSessionToToken(tokenHeader string) string
- func GetList() []authinterfaces.SessionUser
- func LogoutSessionToIdUser(idUser string) bool
- func UpdateOne(ModelUpdate authinterfaces.SessionUser) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var ClientMongo *mongo.Client
Functions ¶
func Add ¶
func Add(Model authinterfaces.SessionUser) string
func FindToActiveIdUser ¶
func FindToActiveIdUser(idUser string) authinterfaces.SessionUser
func FindToId ¶
func FindToId(id string) authinterfaces.SessionUser
func FindToToken ¶
func FindToToken(token string) authinterfaces.SessionUser
func GetClaimForToken ¶
func GetClaimForToken(tokenHeader string) authinterfaces.ClaimSession
func GetIdSessionToToken ¶
func GetList ¶
func GetList() []authinterfaces.SessionUser
func LogoutSessionToIdUser ¶
func UpdateOne ¶
func UpdateOne(ModelUpdate authinterfaces.SessionUser) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.