Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidToken = errors.New("invalid token")
)
Definition error
Functions ¶
This section is empty.
Types ¶
type Auther ¶
type Auther interface { // Generate token GenerateToken(ctx context.Context, userUUID string) (TokenInfo, error) // Destroy token DestroyToken(ctx context.Context, accessToken string) error // Resolve user ID ParseUserUUID(ctx context.Context, accessToken string) (string, error) // Release resources Release() error }
Auther - Authentication interface
Click to show internal directories.
Click to hide internal directories.