Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityProvider ¶
type IdentityProvider interface { Type() string Login(w http.ResponseWriter, r *http.Request, request storage.AuthRequest) Register(w http.ResponseWriter, r *http.Request, request storage.AuthRequest) Logout(w http.ResponseWriter, r *http.Request, request storage.AuthRequest) Callback(w http.ResponseWriter, r *http.Request, request storage.AuthRequest) (UserIdentity, error) }
type OAuthProvider ¶
type OAuthProvider interface { Login(w http.ResponseWriter, r *http.Request, request storage.AuthRequest) Callback(w http.ResponseWriter, r *http.Request, request storage.AuthRequest) error }
type PasswordProvider ¶
type PasswordProvider interface {
Login(w http.ResponseWriter, r *http.Request, request storage.AuthRequest)
}
type UserIdentity ¶
Click to show internal directories.
Click to hide internal directories.