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>

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

results matching ""

    No results matching ""