authentication

package
v0.0.0-...-fc63f81 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CognitoAuthenticator

type CognitoAuthenticator struct {
	Credentials *types.CognitoAuthenticationCredentials
}

CognitoAuthenticator manages attempting to authenticate a user against a specified Cognito User Pool

func NewCognitoAuthenticator

func NewCognitoAuthenticator(
	credentials *types.CognitoAuthenticationCredentials,
) *CognitoAuthenticator

NewCognitoAuthenticator returns a new instance of a CognitoAuthenticator with the given parameters

func (*CognitoAuthenticator) SignIn

SignIn attempts to authenticate the user against the specified User Pool

Jump to

Keyboard shortcuts

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