Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfValidPassword ¶
func GetPassword ¶
func GetPassword() string
func GetUsername ¶
func GetUsername() string
Types ¶
type CognitoClient ¶
type CognitoClient struct { Client *cognitoidentityprovider.Client Config *config.CognitoConfig }
func New ¶
func New(configuration *config.CognitoConfig) CognitoClient
func (*CognitoClient) ChangePassword ¶
func (c *CognitoClient) ChangePassword()
func (*CognitoClient) InitiateAuth ¶
func (c *CognitoClient) InitiateAuth(force bool)
func (*CognitoClient) PerformFirstSignIn ¶
func (c *CognitoClient) PerformFirstSignIn()
func (*CognitoClient) RefreshTokens ¶ added in v1.0.6
func (c *CognitoClient) RefreshTokens()
func (*CognitoClient) RegisterMfaDevice ¶
func (c *CognitoClient) RegisterMfaDevice()
func (*CognitoClient) ResetPassword ¶
func (c *CognitoClient) ResetPassword()
Click to show internal directories.
Click to hide internal directories.