File

src/models/user.ts

Properties

email
email: void
Type : void
name
name: void
Type : void
password
password: void
Type : void
export interface User {
    user: string;           // email of user
    name: string;           // name of user
}

export interface LoginRequest {
    user: string;           // email of user
    password: string;       // md5 hashed password of user
}

export interface LoginResponse extends User {
    accessToken: string;    // access token for authenticating subsequent smartmirror api requests
}

export interface RegisterRequest {
    email: string;          // email of new user
    name: string;           // name of new user
    password: string;       // md5 hashed password of new user
}

results matching ""

    No results matching ""