Documentation
¶
Index ¶
Constants ¶
View Source
const AuthorizationPath = "/authorization"
View Source
const RegistrationPath = "/registration"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationController ¶
type AuthorizationController struct {
// contains filtered or unexported fields
}
func NewAuthorizationController ¶
func NewAuthorizationController( logger logger.Logger, builder builder.Auth, authenticator authenticator.Authenticator, responder response.Responder, ) *AuthorizationController
func (*AuthorizationController) AddRoute ¶
func (c *AuthorizationController) AddRoute(router *mux.Router)
func (*AuthorizationController) GetAccessToken ¶
func (c *AuthorizationController) GetAccessToken(w http.ResponseWriter, r *http.Request)
type RegistrationController ¶
type RegistrationController struct {
// contains filtered or unexported fields
}
func (*RegistrationController) AddRoute ¶
func (c *RegistrationController) AddRoute(router *mux.Router)
func (*RegistrationController) Registration ¶
func (c *RegistrationController) Registration(w http.ResponseWriter, r *http.Request)
Registration - is an endpoint for create a new user.
Click to show internal directories.
Click to hide internal directories.