Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NotAuthorized = fmt.Errorf("not authorized")
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator interface { Login(context.Context, shared.UUID, string) (*http.Cookie, int) Logout(context.Context, string) (*http.Cookie, int) Valid(context.Context, string) (*http.Cookie, int) OTP(context.Context, shared.UUID, string, string) (string, int) LoginOTP(context.Context, string) (string, int) CompleteOTP(context.Context, string) (shared.UUID, int) }
Click to show internal directories.
Click to hide internal directories.