package
0.0.0-20240730081840-b2c82e1192fb
Repository: https://github.com/joinself/restful-client.git
Documentation: pkg.go.dev

# Functions

JWTAuthMiddleware returns a JWT-based authentication middleware.
NewService creates a new authentication service.
RegisterHandlers registers handlers for different HTTP requests.
WithUser returns a context that contains the user identity from the given JWT.

# Structs

LoginRequest authentication login input request.
LoginResponse authentication login output response.
RefreshRequest refresh your JWT token.

# Interfaces

No description provided by the author
Service encapsulates the authentication logic.