"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfAgentPSSOUserRegistrationRequest = instanceOfAgentPSSOUserRegistrationRequest;
exports.AgentPSSOUserRegistrationRequestFromJSON = AgentPSSOUserRegistrationRequestFromJSON;
exports.AgentPSSOUserRegistrationRequestFromJSONTyped = AgentPSSOUserRegistrationRequestFromJSONTyped;
exports.AgentPSSOUserRegistrationRequestToJSON = AgentPSSOUserRegistrationRequestToJSON;
exports.AgentPSSOUserRegistrationRequestToJSONTyped = AgentPSSOUserRegistrationRequestToJSONTyped;
/**
 * Check if a given object implements the AgentPSSOUserRegistrationRequest interface.
 */
function instanceOfAgentPSSOUserRegistrationRequest(value) {
    if (!('userAuth' in value) || value['userAuth'] === undefined)
        return false;
    if (!('userSecureEnclaveKey' in value) || value['userSecureEnclaveKey'] === undefined)
        return false;
    if (!('enclaveKeyId' in value) || value['enclaveKeyId'] === undefined)
        return false;
    return true;
}
function AgentPSSOUserRegistrationRequestFromJSON(json) {
    return AgentPSSOUserRegistrationRequestFromJSONTyped(json, false);
}
function AgentPSSOUserRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'userAuth': json['user_auth'],
        'userSecureEnclaveKey': json['user_secure_enclave_key'],
        'enclaveKeyId': json['enclave_key_id'],
    };
}
function AgentPSSOUserRegistrationRequestToJSON(json) {
    return AgentPSSOUserRegistrationRequestToJSONTyped(json, false);
}
function AgentPSSOUserRegistrationRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'user_auth': value['userAuth'],
        'user_secure_enclave_key': value['userSecureEnclaveKey'],
        'enclave_key_id': value['enclaveKeyId'],
    };
}
//# sourceMappingURL=AgentPSSOUserRegistrationRequest.js.map