Documentation ¶
Index ¶
- type Client
- func (client *Client) ConfirmSignUp(username, confirmationCode, poolClientID string) error
- func (client *Client) CreatePool(name string) (*cognitoidentityprovider.CreateUserPoolOutput, error)
- func (client *Client) CreatePoolClient(name, poolID string) (*cognitoidentityprovider.CreateUserPoolClientOutput, error)
- func (client *Client) DeletePool(poolID string) error
- func (client *Client) DeletePoolClient(poolID, clientID string) error
- func (client *Client) DeleteUser(accessToken string) error
- func (client *Client) DescribePool(poolID string) (string, error)
- func (client *Client) SignIn(username, password, poolClientID string) (*cognitoidentityprovider.AuthenticationResultType, error)
- func (client *Client) SignUp(username, password, poolClientID string) (*cognitoidentityprovider.SignUpOutput, error)
- type IClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ConfirmSignUp ¶
func (*Client) CreatePool ¶
func (client *Client) CreatePool(name string) (*cognitoidentityprovider.CreateUserPoolOutput, error)
func (*Client) CreatePoolClient ¶
func (client *Client) CreatePoolClient(name, poolID string) (*cognitoidentityprovider.CreateUserPoolClientOutput, error)
func (*Client) DeletePool ¶
func (*Client) DeletePoolClient ¶
func (*Client) DeleteUser ¶
func (*Client) SignIn ¶
func (client *Client) SignIn(username, password, poolClientID string) (*cognitoidentityprovider.AuthenticationResultType, error)
func (*Client) SignUp ¶
func (client *Client) SignUp(username, password, poolClientID string) (*cognitoidentityprovider.SignUpOutput, error)
type IClient ¶
type IClient interface { SignIn(username, password, poolClientID string) (*cognitoidentityprovider.AuthenticationResultType, error) SignUp(username, password, poolClientID string) (*cognitoidentityprovider.SignUpOutput, error) ConfirmSignUp(username, confirmationCode, poolClientID string) error DeleteUser(accessToken string) error CreatePool(name string) (*cognitoidentityprovider.CreateUserPoolOutput, error) CreatePoolClient(name, poolID string) (*cognitoidentityprovider.CreateUserPoolClientOutput, error) DescribePool(poolID string) (string, error) DeletePool(poolID string) error DeletePoolClient(poolID, clientID string) error }
Click to show internal directories.
Click to hide internal directories.