interface UsernamePolicy {
    allowedFormats: {
        usernameInEmailFormat: boolean;
        usernameInPhoneFormat: boolean;
    };
    maxLength: number;
    minLength: number;
}

Properties

allowedFormats: {
    usernameInEmailFormat: boolean;
    usernameInPhoneFormat: boolean;
}
maxLength: number
minLength: number