Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JWTGenerate ¶
func JWTGenerate(c *fiber.Ctx) error
Types ¶
type AccessTokenResponse ¶
type AccessTokenResponse struct { AccesToken string `json:"acces_token"` TokenType string `json:"token_type"` ExpiresIn int64 `json:"expires_in"` RefreshToken string `json:"refresh_token,omitempty"` Scope string `json:"scope,omitempty"` }
func NewAccesTokenResponse ¶
func NewAccesTokenResponse(subject string) AccessTokenResponse
type UserCredentials ¶
Click to show internal directories.
Click to hide internal directories.