File

core/user/user-totp-setup.component.ts

Metadata

Index

Methods

Constructor

constructor(user: UserService, modalService: ModalService, modal: BsModalRef, loginService: LoginService)
Parameters :
Name Type Optional
user UserService No
modalService ModalService No
modal BsModalRef No
loginService LoginService No

Methods

close
close()
Returns : void
Async totpSetupVerified
totpSetupVerified()
Returns : any
<c8y-modal
  [title]="'Set up two-factor authentication' | translate"
  [headerClasses]="'dialog-header'"
  [customFooter]="true"
>
  <ng-container c8y-modal-title>
    <span class="dlt-c8y-icon-phonelink-lock"></span>
  </ng-container>

  <c8y-totp-setup></c8y-totp-setup>
  <c8y-totp-challenge [isModal]="true" (onSuccess)="totpSetupVerified()" (totpUnconfirmedEmitter)="close()"></c8y-totp-challenge>
</c8y-modal>

results matching ""

    No results matching ""