package
0.0.0-20200708040304-caf59479c072
Repository: https://github.com/ducalixte/medichat-users.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Authenticate godoc @Summary Authenticate a user access @Description authenticates the user access and provides the user resource with a token @Tags signin @Accept json @Produce json parameters: - in: body required: true schema: $ref: "#/definitions/createAuthenticateRequest" @Success 200 {object} string @Header 200 {object} Token "qwerty" @Router /api/signin [post].
Authorize godoc @Summary Authorize a user to access @Description authorizes the user access and provides the user resource with a token @Tags signin @Accept json @Produce json parameters: - in: body required: true schema: $ref: "#/definitions/createAuthorizeRequest" @Success 200 {object} string @Header 200 {object} Token "qwerty" @Router /api/signup [post].