Documentation
¶
Overview ¶
Package per l'autenticazione degli utenti.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthenticateUser ¶
Verifica le credenziali e restituisce il token.
Types ¶
type AuthenticationError ¶
type AuthenticationError struct {
// contains filtered or unexported fields
}
Errore di autenticazione
func (*AuthenticationError) Error ¶
func (e *AuthenticationError) Error() string
type InvalidTokenError ¶
type InvalidTokenError struct {
// contains filtered or unexported fields
}
Errore nella verifica del token
func (*InvalidTokenError) Error ¶
func (e *InvalidTokenError) Error() string
type JWTCreationError ¶
type JWTCreationError struct {
// contains filtered or unexported fields
}
Errore di generazione del token
func (*JWTCreationError) Error ¶
func (e *JWTCreationError) Error() string
Click to show internal directories.
Click to hide internal directories.