And my class validation:
export class SuperTokensUsersPipe {
@isEmail()
email: string;
@MinLength(9)
@Matches(/[A-Z]+/g)
@Matches(/[a-ząćęłńóśźżĄĘŁŃÓŚŹŻぁ-んァ-ヾ一-龯]*/g)
@Matches(/[0-9]+/g)
@Matches(/[#?!@$%^&*-]+/g)
@isNotEmpty()
password: string;
}
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).