vault/ui/api-client/dist/esm/models/MfaCreateDuoMethodRequest.d.ts

69 lines
2.5 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 MfaCreateDuoMethodRequest
*/
export interface MfaCreateDuoMethodRequest {
/**
* API host name for Duo.
* @type {string}
* @memberof MfaCreateDuoMethodRequest
*/
apiHostname?: string;
/**
* Integration key for Duo.
* @type {string}
* @memberof MfaCreateDuoMethodRequest
*/
integrationKey?: string;
/**
* The unique name identifier for this MFA method.
* @type {string}
* @memberof MfaCreateDuoMethodRequest
*/
methodName?: string;
/**
* Push information for Duo.
* @type {string}
* @memberof MfaCreateDuoMethodRequest
*/
pushInfo?: string;
/**
* Secret key for Duo.
* @type {string}
* @memberof MfaCreateDuoMethodRequest
*/
secretKey?: string;
/**
* If true, the user is reminded to use the passcode upon MFA validation. This option does not enforce using the passcode. Defaults to false.
* @type {boolean}
* @memberof MfaCreateDuoMethodRequest
*/
usePasscode?: boolean;
/**
* A template string for mapping Identity names to MFA method names. Values to subtitute should be placed in {{}}. For example, "{{alias.name}}@example.com". Currently-supported mappings: alias.name: The name returned by the mount configured via the mount_accessor parameter If blank, the Alias's name field will be used as-is.
* @type {string}
* @memberof MfaCreateDuoMethodRequest
*/
usernameFormat?: string;
}
/**
* Check if a given object implements the MfaCreateDuoMethodRequest interface.
*/
export declare function instanceOfMfaCreateDuoMethodRequest(value: object): value is MfaCreateDuoMethodRequest;
export declare function MfaCreateDuoMethodRequestFromJSON(json: any): MfaCreateDuoMethodRequest;
export declare function MfaCreateDuoMethodRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MfaCreateDuoMethodRequest;
export declare function MfaCreateDuoMethodRequestToJSON(json: any): MfaCreateDuoMethodRequest;
export declare function MfaCreateDuoMethodRequestToJSONTyped(value?: MfaCreateDuoMethodRequest | null, ignoreDiscriminator?: boolean): any;