/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * The generated shared secret to enable two factor authentication with TOTP compatible authenticator app. The secret is not active. * @export * @interface TotpSecret */ export interface TotpSecret { /** * The id of the generated secret * @type {string} * @memberof TotpSecret */ secretId?: string; /** * The base32 encoded secret * @type {string} * @memberof TotpSecret */ secret?: string; /** * The algorithm used for the TOTP * @type {string} * @memberof TotpSecret */ alg?: string; /** * Number of digits for the TOTP * @type {number} * @memberof TotpSecret */ digits?: number; /** * The validity period for the TOTP * @type {number} * @memberof TotpSecret */ period?: number; /** * The username of the calling user. Can be used to display a friendly name in an authenticator app. * @type {string} * @memberof TotpSecret */ username?: string; } /** * Check if a given object implements the TotpSecret interface. */ export declare function instanceOfTotpSecret(value: object): value is TotpSecret; export declare function TotpSecretFromJSON(json: any): TotpSecret; export declare function TotpSecretFromJSONTyped(json: any, ignoreDiscriminator: boolean): TotpSecret; export declare function TotpSecretToJSON(json: any): TotpSecret; export declare function TotpSecretToJSONTyped(value?: TotpSecret | null, ignoreDiscriminator?: boolean): any;