"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.instanceOfOAuth2ProviderSetupURLs = instanceOfOAuth2ProviderSetupURLs;
exports.OAuth2ProviderSetupURLsFromJSON = OAuth2ProviderSetupURLsFromJSON;
exports.OAuth2ProviderSetupURLsFromJSONTyped = OAuth2ProviderSetupURLsFromJSONTyped;
exports.OAuth2ProviderSetupURLsToJSON = OAuth2ProviderSetupURLsToJSON;
exports.OAuth2ProviderSetupURLsToJSONTyped = OAuth2ProviderSetupURLsToJSONTyped;
/**
 * Check if a given object implements the OAuth2ProviderSetupURLs interface.
 */
function instanceOfOAuth2ProviderSetupURLs(value) {
    if (!('issuer' in value) || value['issuer'] === undefined)
        return false;
    if (!('authorize' in value) || value['authorize'] === undefined)
        return false;
    if (!('token' in value) || value['token'] === undefined)
        return false;
    if (!('userInfo' in value) || value['userInfo'] === undefined)
        return false;
    if (!('providerInfo' in value) || value['providerInfo'] === undefined)
        return false;
    if (!('logout' in value) || value['logout'] === undefined)
        return false;
    if (!('jwks' in value) || value['jwks'] === undefined)
        return false;
    return true;
}
function OAuth2ProviderSetupURLsFromJSON(json) {
    return OAuth2ProviderSetupURLsFromJSONTyped(json, false);
}
function OAuth2ProviderSetupURLsFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'issuer': json['issuer'],
        'authorize': json['authorize'],
        'token': json['token'],
        'userInfo': json['user_info'],
        'providerInfo': json['provider_info'],
        'logout': json['logout'],
        'jwks': json['jwks'],
    };
}
function OAuth2ProviderSetupURLsToJSON(json) {
    return OAuth2ProviderSetupURLsToJSONTyped(json, false);
}
function OAuth2ProviderSetupURLsToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {};
}
//# sourceMappingURL=OAuth2ProviderSetupURLs.js.map