File

src/app/models/credentials.model.ts

Index

Properties

Constructor

constructor(model?: LoginVm)
Parameters :
Name Type Optional
model LoginVm yes

Properties

Public password
password: string
Type : string
Public username
username: string
Type : string
import { LoginVm } from './login-vm.model';

export class Credentials {
  public username: string;
  public password: string;

  constructor(model?: LoginVm) {
    this.username = model ? model.username : null;
    this.password = model ? model.passwordBase64 : null;
  }
}

results matching ""

    No results matching ""