default: {
invite: ((email: string, user: {
email: string;
firstname?: string;
lastname?: string;
}) => Promise<void>);
recover: ((email: string) => Promise<void>);
revalidate: ((email: string, userid: string) => Promise<boolean>);
subscribe: ((email: string, userid: string) => Promise<void>);
} = ...
Type declaration
invite: ((email: string, user: {
email: string;
firstname?: string;
lastname?: string;
}) => Promise<void>)
- (email, user): Promise<void>
Parameters
- email: string
- user: {
email: string;
firstname?: string;
lastname?: string;
}email: string
Optional
firstname?: string
Optional
lastname?: string
Returns Promise<void>
recover: ((email: string) => Promise<void>)
- (email): Promise<void>
Returns Promise<void>
revalidate: ((email: string, userid: string) => Promise<boolean>)
- (email, userid): Promise<boolean>
Parameters
- email: string
- userid: string
Returns Promise<boolean>
Valid
subscribe: ((email: string, userid: string) => Promise<void>)
- (email, userid): Promise<void>
Parameters
- email: string
- userid: string
Returns Promise<void>
Invite