mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-06 14:47:01 +02:00
75 lines
2.7 KiB
TypeScript
75 lines
2.7 KiB
TypeScript
/**
|
|
* HashiCorp Vault API
|
|
* HTTP API that gives you full access to Vault. All API routes are prefixed with `/v1/`.
|
|
*
|
|
* The version of the OpenAPI document: 1.21.0
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
/**
|
|
*
|
|
* @export
|
|
* @interface SystemWriteMfaMethodTotpNameRequest
|
|
*/
|
|
export interface SystemWriteMfaMethodTotpNameRequest {
|
|
/**
|
|
* The hashing algorithm used to generate the TOTP token. Options include SHA1, SHA256 and SHA512.
|
|
* @type {string}
|
|
* @memberof SystemWriteMfaMethodTotpNameRequest
|
|
*/
|
|
algorithm?: string;
|
|
/**
|
|
* The number of digits in the generated TOTP token. This value can either be 6 or 8.
|
|
* @type {number}
|
|
* @memberof SystemWriteMfaMethodTotpNameRequest
|
|
*/
|
|
digits?: number;
|
|
/**
|
|
* The name of the key's issuing organization.
|
|
* @type {string}
|
|
* @memberof SystemWriteMfaMethodTotpNameRequest
|
|
*/
|
|
issuer?: string;
|
|
/**
|
|
* Determines the size in bytes of the generated key.
|
|
* @type {number}
|
|
* @memberof SystemWriteMfaMethodTotpNameRequest
|
|
*/
|
|
keySize?: number;
|
|
/**
|
|
* Max number of allowed validation attempts.
|
|
* @type {number}
|
|
* @memberof SystemWriteMfaMethodTotpNameRequest
|
|
*/
|
|
maxValidationAttempts?: number;
|
|
/**
|
|
* The length of time used to generate a counter for the TOTP token calculation.
|
|
* @type {string}
|
|
* @memberof SystemWriteMfaMethodTotpNameRequest
|
|
*/
|
|
period?: string;
|
|
/**
|
|
* The pixel size of the generated square QR code.
|
|
* @type {number}
|
|
* @memberof SystemWriteMfaMethodTotpNameRequest
|
|
*/
|
|
qrSize?: number;
|
|
/**
|
|
* The number of delay periods that are allowed when validating a TOTP token. This value can either be 0 or 1.
|
|
* @type {number}
|
|
* @memberof SystemWriteMfaMethodTotpNameRequest
|
|
*/
|
|
skew?: number;
|
|
}
|
|
/**
|
|
* Check if a given object implements the SystemWriteMfaMethodTotpNameRequest interface.
|
|
*/
|
|
export declare function instanceOfSystemWriteMfaMethodTotpNameRequest(value: object): value is SystemWriteMfaMethodTotpNameRequest;
|
|
export declare function SystemWriteMfaMethodTotpNameRequestFromJSON(json: any): SystemWriteMfaMethodTotpNameRequest;
|
|
export declare function SystemWriteMfaMethodTotpNameRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemWriteMfaMethodTotpNameRequest;
|
|
export declare function SystemWriteMfaMethodTotpNameRequestToJSON(json: any): SystemWriteMfaMethodTotpNameRequest;
|
|
export declare function SystemWriteMfaMethodTotpNameRequestToJSONTyped(value?: SystemWriteMfaMethodTotpNameRequest | null, ignoreDiscriminator?: boolean): any;
|