Table of Contents

TOtpUri.Build Method

Builds an OTP URI string from the provided parameters.

Syntax

Unit: Sphinx.Otp

class function TOtpUri.Build(const Secret: string; const Issuer: string; const AccountName: string): string; static;

Parameters

<-> Parameter Type Description
const Secret string The secret key.
const Issuer string The issuer name.
const AccountName string The account name.

Returns

The generated OTP URI string.

See also