"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.instanceOfAgentPSSODeviceRegistrationResponse = instanceOfAgentPSSODeviceRegistrationResponse;
exports.AgentPSSODeviceRegistrationResponseFromJSON = AgentPSSODeviceRegistrationResponseFromJSON;
exports.AgentPSSODeviceRegistrationResponseFromJSONTyped = AgentPSSODeviceRegistrationResponseFromJSONTyped;
exports.AgentPSSODeviceRegistrationResponseToJSON = AgentPSSODeviceRegistrationResponseToJSON;
exports.AgentPSSODeviceRegistrationResponseToJSONTyped = AgentPSSODeviceRegistrationResponseToJSONTyped;
/**
 * Check if a given object implements the AgentPSSODeviceRegistrationResponse interface.
 */
function instanceOfAgentPSSODeviceRegistrationResponse(value) {
    if (!('clientId' in value) || value['clientId'] === undefined)
        return false;
    if (!('issuer' in value) || value['issuer'] === undefined)
        return false;
    if (!('tokenEndpoint' in value) || value['tokenEndpoint'] === undefined)
        return false;
    if (!('jwksEndpoint' in value) || value['jwksEndpoint'] === undefined)
        return false;
    if (!('audience' in value) || value['audience'] === undefined)
        return false;
    if (!('nonceEndpoint' in value) || value['nonceEndpoint'] === undefined)
        return false;
    return true;
}
function AgentPSSODeviceRegistrationResponseFromJSON(json) {
    return AgentPSSODeviceRegistrationResponseFromJSONTyped(json, false);
}
function AgentPSSODeviceRegistrationResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'clientId': json['client_id'],
        'issuer': json['issuer'],
        'tokenEndpoint': json['token_endpoint'],
        'jwksEndpoint': json['jwks_endpoint'],
        'audience': json['audience'],
        'nonceEndpoint': json['nonce_endpoint'],
    };
}
function AgentPSSODeviceRegistrationResponseToJSON(json) {
    return AgentPSSODeviceRegistrationResponseToJSONTyped(json, false);
}
function AgentPSSODeviceRegistrationResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'client_id': value['clientId'],
        'issuer': value['issuer'],
        'token_endpoint': value['tokenEndpoint'],
        'jwks_endpoint': value['jwksEndpoint'],
        'audience': value['audience'],
        'nonce_endpoint': value['nonceEndpoint'],
    };
}
//# sourceMappingURL=AgentPSSODeviceRegistrationResponse.js.map