Interface CreateUserOptions

Options for creating a new user.

interface CreateUserOptions {
    connection: string;
    email: string;
    family_name?: string;
    given_name?: string;
    metadata?: object;
    name?: string;
    nickname?: string;
    password: string;
    picture?: string;
    username?: string;
    [key: string]: any;
}

Indexable

[key: string]: any

Properties

connection: string

The name of the database connection where to create the user

email: string

The user's email

family_name?: string

The user's family name(s)

given_name?: string

The user's given name(s)

metadata?: object

Additional information that will be stored in user_metadata

name?: string

The user's full name

nickname?: string

The user's nickname

password: string

The user's password

picture?: string

A URL pointing to the user's picture

username?: string

The user's username

Generated using TypeDoc