src/app/models/credentials.model.ts
Properties |
constructor(model?: LoginVm)
|
||||||
Defined in src/app/models/credentials.model.ts:5
|
||||||
Parameters :
|
Public password |
password:
|
Type : string
|
Defined in src/app/models/credentials.model.ts:5
|
Public username |
username:
|
Type : string
|
Defined in src/app/models/credentials.model.ts:4
|
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;
}
}