Documentation ¶
Index ¶
- Variables
- func AddSocialAccountHandler(endpoint endpoint.Endpoint) gin.HandlerFunc
- func AuthMiddlware(authenticator Authenticator, cfg conf.Config) (*jwt.GinJWTMiddleware, error)
- func CheckHealthHandler(endpoint endpoint.Endpoint) gin.HandlerFunc
- func OTPVerifyHandler(endpoint endpoint.Endpoint) gin.HandlerFunc
- func RegisterHandler(endpoint endpoint.Endpoint) gin.HandlerFunc
- func SignInHandler(endpoint endpoint.Endpoint) gin.HandlerFunc
- type Authenticator
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrFailedAuthentication = jwt.ErrFailedAuthentication
)
Functions ¶
func AddSocialAccountHandler ¶
func AddSocialAccountHandler(endpoint endpoint.Endpoint) gin.HandlerFunc
func AuthMiddlware ¶
func AuthMiddlware(authenticator Authenticator, cfg conf.Config) (*jwt.GinJWTMiddleware, error)
func CheckHealthHandler ¶ added in v1.0.6
func CheckHealthHandler(endpoint endpoint.Endpoint) gin.HandlerFunc
func OTPVerifyHandler ¶
func OTPVerifyHandler(endpoint endpoint.Endpoint) gin.HandlerFunc
func RegisterHandler ¶
func RegisterHandler(endpoint endpoint.Endpoint) gin.HandlerFunc
func SignInHandler ¶
func SignInHandler(endpoint endpoint.Endpoint) gin.HandlerFunc
Types ¶
type Authenticator ¶
func SignInAuthenticator ¶
func SignInAuthenticator(endpoint endpoint.Endpoint) Authenticator
Click to show internal directories.
Click to hide internal directories.