Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAWSSession ¶
GetAWSSession はAWSセッションを取得します https://docs.aws.amazon.com/sdk-for-go/api/aws/session/
Types ¶
type UserIdentityProvider ¶
type UserIdentityProvider struct {
// contains filtered or unexported fields
}
UserIdentityProvider はユーザー認証管理リポジトリです
func (*UserIdentityProvider) DeleteUser ¶
func (u *UserIdentityProvider) DeleteUser(email string) error
DeleteUser はCognito UserPoolのユーザー削除を行います
ListUsers のAPIドキュメント https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/#CognitoIdentityProvider.ListUsers
AdminDeleteUser のAPIドキュメント https://docs.aws.amazon.com/sdk-for-go/api/service/cognitoidentityprovider/#CognitoIdentityProvider.AdminDeleteUser
type UserPoolInterface ¶
UserPoolInterface represents Cognito UserPool Interface
func NewUserIdentityProvider ¶
func NewUserIdentityProvider(userPool *UserPool) UserPoolInterface
NewUserIdentityProvider はユーザー認証管理リポジトリを初期化します
Click to show internal directories.
Click to hide internal directories.