Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudFormationAPI ¶
type CloudFormationAPI interface {
DescribeStacks(ctx context.Context, params *cloudformation.DescribeStacksInput, optFns ...func(*cloudformation.Options)) (*cloudformation.DescribeStacksOutput, error)
}
type CloudFormationClientInterface ¶
type CloudFormationClientInterface interface {
GetCloudFormationOutput(ctx context.Context, stackName, outputKey string) (string, error)
}
func NewCloudFormationClient ¶
func NewCloudFormationClient(api CloudFormationAPI) CloudFormationClientInterface
type CognitoAPI ¶
type CognitoAPI interface { SignUp(ctx context.Context, params *cognitoidentityprovider.SignUpInput, optFns ...func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.SignUpOutput, error) ConfirmSignUp(ctx context.Context, params *cognitoidentityprovider.ConfirmSignUpInput, optFns ...func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.ConfirmSignUpOutput, error) InitiateAuth(ctx context.Context, params *cognitoidentityprovider.InitiateAuthInput, optFns ...func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.InitiateAuthOutput, error) GlobalSignOut(ctx context.Context, params *cognitoidentityprovider.GlobalSignOutInput, optFns ...func(*cognitoidentityprovider.Options)) (*cognitoidentityprovider.GlobalSignOutOutput, error) }
type CognitoClientInterface ¶
type CognitoClientInterface interface { SignUp(ctx context.Context, username, password string) (string, error) ConfirmSignUp(ctx context.Context, username, confirmationCode string) error Login(ctx context.Context, username, password string) (string, string, error) // Updated to return two strings Logout(ctx context.Context, accessToken string) error }
func NewCognitoClient ¶
func NewCognitoClient(api CognitoAPI, clientID, userPoolID string) CognitoClientInterface
Click to show internal directories.
Click to hide internal directories.