gognito

package module
v0.1.0-alpha-2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAWSSession

func GetAWSSession() *session.Session

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 UserPool

type UserPool struct {
	PoolID      string
	Region      string
	AppClientID string
}

UserPool has CognitoUserPool info.

type UserPoolInterface

type UserPoolInterface interface {
	DeleteUser(email string) error
}

UserPoolInterface represents Cognito UserPool Interface

func NewUserIdentityProvider

func NewUserIdentityProvider(userPool *UserPool) UserPoolInterface

NewUserIdentityProvider はユーザー認証管理リポジトリを初期化します

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL