Documentation ¶
Index ¶
- func ComparePasswords(hashedPwd, inputPwd string) bool
- func ConnectionURLBuilder(n string) (string, error)
- func GeneratePassword(p string) string
- func GetCredentialsByRole(role string) ([]string, error)
- func NewValidator() *validator.Validate
- func NormalizePassword(p string) []byte
- func ParseRefreshToken(refreshToken string) (int64, error)
- func StartServer(a *fiber.App)
- func StartServerWithGracefulShutdown(a *fiber.App)
- func ValidatorErrors(err error) map[string]string
- func VerifyRole(role string) (string, error)
- type TokenMetadata
- type Tokens
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePasswords ¶
func ConnectionURLBuilder ¶
func GeneratePassword ¶
func GetCredentialsByRole ¶
func NewValidator ¶
func NewValidator() *validator.Validate
func NormalizePassword ¶
func ParseRefreshToken ¶
func StartServer ¶
func StartServer(a *fiber.App)
func StartServerWithGracefulShutdown ¶
func StartServerWithGracefulShutdown(a *fiber.App)
func ValidatorErrors ¶
func VerifyRole ¶
Types ¶
type TokenMetadata ¶
func ExtractTokenMetadata ¶
func ExtractTokenMetadata(c *fiber.Ctx) (*TokenMetadata, error)
Click to show internal directories.
Click to hide internal directories.