core/user/user-totp-setup.component.ts
selector | c8y-user-totp-setup |
templateUrl | ./user-totp-setup.component.html |
Methods |
|
constructor(user: UserService, modalService: ModalService, modal: BsModalRef, loginService: LoginService)
|
|||||||||||||||
Parameters :
|
close |
close()
|
Returns :
void
|
Async totpSetupVerified |
totpSetupVerified()
|
Returns :
any
|
<c8y-modal [customFooter]="true" [title]="'Set up two-factor authentication' | translate">
<c8y-totp-setup></c8y-totp-setup>
<c8y-totp-challenge (onSuccess)="totpSetupVerified()" (totpUnconfirmedEmitter)="close()"></c8y-totp-challenge>
</c8y-modal>