Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CognitoAuthenticator ¶
type CognitoAuthenticator struct {
Credentials *types.CognitoAuthenticationCredentials
}
CognitoAuthenticator manages attempting to authenticate a user against a specified Cognito User Pool
func NewCognitoAuthenticator ¶
func NewCognitoAuthenticator( credentials *types.CognitoAuthenticationCredentials, ) *CognitoAuthenticator
NewCognitoAuthenticator returns a new instance of a CognitoAuthenticator with the given parameters
func (*CognitoAuthenticator) SignIn ¶
func (c *CognitoAuthenticator) SignIn() (*cip.AuthenticationResultType, error)
SignIn attempts to authenticate the user against the specified User Pool
Click to show internal directories.
Click to hide internal directories.