• Creates a user

    Parameters

    Returns Promise<SignUpOutput>

    SignUpOutput

    Throws

    service: SignUpException - Cognito service errors thrown during the sign-up process.

    Throws

    validation: AuthValidationErrorCode - Validation errors thrown either username or password are not defined.

    Throws

    AuthTokenConfigException - Thrown when the token provider config is invalid.