Appearance
Documentation / @kizami/crypto / buildOtpauthUri
Function: buildOtpauthUri()
buildOtpauthUri(
params):string
Defined in: totp.ts:192
otpauth://totp/... URI を組み立てる(認証アプリの QR / 手動登録用)。
ラベルは慣習に従い issuer:accountName(コロン区切り)にし、issuer パラメータも重複して 付ける — 古いアプリはラベル側だけ、新しいアプリはパラメータ側だけを読むため、両方載せるのが 最も相互運用性が高い(Key URI Format の慣習)。
Parameters
params
Returns
string