Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler(authInteractor interactor.AuthenticationInteractor, storage *mongodb.Storage) *AuthHandler
func (*AuthHandler) Authentication ¶
func (ah *AuthHandler) Authentication() http.HandlerFunc
Authentication is a handler for http POST - "/authentication" return HTTP ok if token valid and HTTP 400 if not valid
func (*AuthHandler) GetLiveness ¶
func (ah *AuthHandler) GetLiveness() http.HandlerFunc
func (*AuthHandler) GetReadiness ¶
func (ah *AuthHandler) GetReadiness() http.HandlerFunc
func (*AuthHandler) Login ¶
func (ah *AuthHandler) Login() http.HandlerFunc
Login is a handler for http POST - "/login" return auth token with refresh token
type UserResource ¶
For Post/Put - /users
Click to show internal directories.
Click to hide internal directories.