Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultUserPoolClientName = "Nitric"
For each User Pool (tenant), a "Sign-Up Client" is used to sign up users with self-assigned password. this refers to the default Nitric Sign-Up Client for each User Pool.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() (sdk.UserService, error)
New - Creates a new instance of the Cognito auth plugin
func NewWithClient ¶
func NewWithClient(client cognitoidentityprovideriface.CognitoIdentityProviderAPI) sdk.UserService
NewWithClient - Creates a new instance of the Cognito auth plugin with given Cognito Client
Types ¶
type CognitoAuthService ¶
type CognitoAuthService struct {
sdk.UnimplementedAuthPlugin
// contains filtered or unexported fields
}
CognitoAuthService - Cognito implementation of the Nitric Auth plugin interface
Click to show internal directories.
Click to hide internal directories.