n8n-nodes-base
Version:
Base nodes of n8n
30 lines • 1.13 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TotpApi = void 0;
class TotpApi {
name = 'totpApi';
displayName = 'TOTP API';
documentationUrl = 'totp';
properties = [
{
displayName: 'Secret',
name: 'secret',
type: 'string',
typeOptions: { password: true },
default: '',
placeholder: 'e.g. BVDRSBXQB2ZEL5HE',
required: true,
description: 'Secret key encoded in the QR code during setup. <a href="https://github.com/google/google-authenticator/wiki/Key-Uri-Format#secret">Learn more</a>.',
},
{
displayName: 'Label',
name: 'label',
type: 'string',
default: '',
placeholder: 'e.g. GitHub:john-doe',
description: 'Identifier for the TOTP account, in the <code>issuer:username</code> format. <a href="https://github.com/google/google-authenticator/wiki/Key-Uri-Format#label">Learn more</a>.',
},
];
}
exports.TotpApi = TotpApi;
//# sourceMappingURL=TotpApi.credentials.js.map