cognitoauthenticator

package
v0.0.0-...-f8624db Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type CognitoAuthenticator

type CognitoAuthenticator struct {
	Client      *cognitoidentityprovider.Client
	UserPoolID  string
	AppClientID string
}

func (*CognitoAuthenticator) LogIn

func (auth *CognitoAuthenticator) LogIn(user *models.User) (*models.Token, error)

func (*CognitoAuthenticator) SignUp

func (auth *CognitoAuthenticator) SignUp(user *models.User) error

Jump to

Keyboard shortcuts

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