Skip to main content

API

This section describes the API of the ui-auth library.

Interfaces

PasswordRule

interface PasswordRule {
name: string;
pattern: RegExp;
message: string;
}
interface SocialLink {
name: string;
url: string;
}

SignUpFormField

interface SignUpFormField {
control: string;
field: boolean;
label?: string | null;
validator?: any | any[];
required?: boolean;
disabled?: boolean;
testId?: string;
specialInput?: boolean;
mask?: string;
}
interface RouterLink {
label: string;
link: string;
}