Documentation ¶
Index ¶
- Variables
- func AddUserToGroup(u string, g string) error
- func CreateSecretHash(username string) string
- func DeleteSession(tokenAccess string) error
- func GetSession(id string) (string, error)
- func Init()
- func ParseToken(tokenString string) (jwt.Token, error)
- func StoreSession(tokenAccess string) error
- func ValidateToken(tokenString string) (jwt.Token, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CognitoSvc *cognitoidentityprovider.CognitoIdentityProvider AWSRegion string CognitoAppClientId string CognitoPoolID string )
Functions ¶
func AddUserToGroup ¶
func CreateSecretHash ¶
func GetSession ¶
Gets the jti from redis through the userId
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.