Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthResponse ¶
AuthResponse authentication response containing the aws sdk configuration loaded with credentials.
func AuthAPIToken ¶
func AuthAPIToken(ctx context.Context, client client.ClientWithResponsesInterface, apiToken *APIToken) (*AuthResponse, error)
type CredentialsRetrieverFn ¶
type CredentialsRetrieverFn func(ctx context.Context) (aws.Credentials, error)
func AWSCredentialsRetrieverFn ¶
func AWSCredentialsRetrieverFn(awscfg aws.Config) CredentialsRetrieverFn
Directories ¶
Path | Synopsis |
---|---|
This package provides a function which authenticates a user against Cognito and returns the AWS config and IDP tokens.
|
This package provides a function which authenticates a user against Cognito and returns the AWS config and IDP tokens. |
This package provides a function which gets AWS credentials from Cognito Identity using the provided ID token
|
This package provides a function which gets AWS credentials from Cognito Identity using the provided ID token |
Click to show internal directories.
Click to hide internal directories.