Documentation ¶
Index ¶
- func DoCurrentRolesContainAllDesiredRoles(currentRoles, toCheckIfHaveRoles *[]string) bool
- func DoCurrentRolesContainAnyDesiredRoles(currentRoles, toCheckIfHaveRoles *[]string) bool
- func ExtractPayloadFromJWT(token *string) (payload models.JWTClaims, err error)
- func ExtractRolesForUser(payload *models.JWTPayload) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractPayloadFromJWT ¶
func ExtractRolesForUser ¶
func ExtractRolesForUser(payload *models.JWTPayload) []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.