Skip to content

TypeScript API / @laikacms/server/oauth2 / renderTotpVerificationPage

Function: renderTotpVerificationPage() ​

ts
function renderTotpVerificationPage(options): TotpVerificationPageResult;

Render the TOTP verification page HTML

Parameters ​

ParameterType
optionsTotpVerificationPageOptions

Returns ​

TotpVerificationPageResult

Object with html string and imgSrc array for CSP

Released under the MIT License.