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(token)
Parameters :
Name Optional
token No
Returns : any
<c8y-modal [customFooter]="true" [title]="'Set up two-factor authentication' | translate">
  <c8y-totp-setup></c8y-totp-setup>
  <c8y-totp-challenge (onSuccess)="totpSetupVerified($event)" (totpUnconfirmedEmitter)="close()"></c8y-totp-challenge>
</c8y-modal>

results matching ""

    No results matching ""