Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
Base64Decode decodes a base 64 string to a byte array.
func Base64Encode ¶
Base64Encode encodes a byte array to a base 64 string.
func CryptoHash ¶
CryptoHash generates a cryptographically safe hash based on the given string parameter.
func DecodeToken ¶
func DecodeToken(token string) (*jwt.StandardClaims, error)
DecodeToken decodes the non-secret part of the jwt token and extracts the associated claims. Note: this method does not verify the tokens validity, for this the corresponding endpoint of the iam service should be used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.