File

core/authentication/totp-setup.component.ts

Implements

OnInit

Metadata

Index

Properties
Methods
Accessors

Constructor

constructor(user: UserService, alert: AlertService)
Parameters :
Name Type Optional
user UserService No
alert AlertService No

Methods

Async ngOnInit
ngOnInit()
Returns : any

Properties

totpSecret
Type : ITotp

Accessors

qrCodeImage
getqrCodeImage()
secret
getsecret()
qrData
getqrData()
<div class="text-center">
  <p class="m-24 m-t-16 m-b-0" translate>
    Scan this QR code with your smartphone using the Google Authenticator app.
  </p>

  <div class="d-flex j-c-center">
    <qrcode
      [width]="180"
      *ngIf="totpSecret"
      [qrdata]="qrData"
      [errorCorrectionLevel]="'M'"
      [elementType]="'svg'"
    ></qrcode>
  </div>
  <p class="text-center text-muted">
    {{ secret }}
  </p>
</div>

results matching ""

    No results matching ""