/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * @export
 */
export const OIDConnectConfigurationScopesSupportedEnum = {
    openid: 'openid',
    email: 'email',
    profile: 'profile',
    ga4gh_passport_v1: 'ga4gh_passport_v1',
    view: 'view',
    download: 'download',
    modify: 'modify',
    authorize: 'authorize',
    offline_access: 'offline_access'
};
/**
 * @export
 */
export const OIDConnectConfigurationResponseTypesSupportedEnum = {
    code: 'code'
};
/**
 * @export
 */
export const OIDConnectConfigurationGrantTypesSupportedEnum = {
    authorization_code: 'authorization_code',
    refresh_token: 'refresh_token'
};
/**
 * @export
 */
export const OIDConnectConfigurationSubjectTypesSupportedEnum = {
    pairwise: 'pairwise'
};
/**
 * @export
 */
export const OIDConnectConfigurationIdTokenSigningAlgValuesSupportedEnum = {
    RS256: 'RS256'
};
/**
 * @export
 */
export const OIDConnectConfigurationUserinfoSigningAlgValuesSupportedEnum = {
    RS256: 'RS256'
};
/**
 * @export
 */
export const OIDConnectConfigurationClaimsSupportedEnum = {
    iss: 'iss',
    sub: 'sub',
    aud: 'aud',
    iat: 'iat',
    nbf: 'nbf',
    exp: 'exp',
    auth_time: 'auth_time',
    email: 'email',
    email_verified: 'email_verified',
    given_name: 'given_name',
    family_name: 'family_name',
    company: 'company',
    team: 'team',
    userid: 'userid',
    user_name: 'user_name',
    orcid: 'orcid',
    is_certified: 'is_certified',
    is_validated: 'is_validated',
    validated_given_name: 'validated_given_name',
    validated_family_name: 'validated_family_name',
    validated_location: 'validated_location',
    validated_email: 'validated_email',
    validated_company: 'validated_company',
    validated_orcid: 'validated_orcid',
    validated_at: 'validated_at',
    refresh_token_id: 'refresh_token_id',
    token_type: 'token_type',
    ga4gh_passport_v1: 'ga4gh_passport_v1'
};
/**
 * Check if a given object implements the OIDConnectConfiguration interface.
 */
export function instanceOfOIDConnectConfiguration(value) {
    return true;
}
export function OIDConnectConfigurationFromJSON(json) {
    return OIDConnectConfigurationFromJSONTyped(json, false);
}
export function OIDConnectConfigurationFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'issuer': json['issuer'] == null ? undefined : json['issuer'],
        'authorization_endpoint': json['authorization_endpoint'] == null ? undefined : json['authorization_endpoint'],
        'token_endpoint': json['token_endpoint'] == null ? undefined : json['token_endpoint'],
        'revocation_endpoint': json['revocation_endpoint'] == null ? undefined : json['revocation_endpoint'],
        'userinfo_endpoint': json['userinfo_endpoint'] == null ? undefined : json['userinfo_endpoint'],
        'introspection_endpoint': json['introspection_endpoint'] == null ? undefined : json['introspection_endpoint'],
        'jwks_uri': json['jwks_uri'] == null ? undefined : json['jwks_uri'],
        'registration_endpoint': json['registration_endpoint'] == null ? undefined : json['registration_endpoint'],
        'scopes_supported': json['scopes_supported'] == null ? undefined : json['scopes_supported'],
        'response_types_supported': json['response_types_supported'] == null ? undefined : json['response_types_supported'],
        'grant_types_supported': json['grant_types_supported'] == null ? undefined : json['grant_types_supported'],
        'subject_types_supported': json['subject_types_supported'] == null ? undefined : json['subject_types_supported'],
        'id_token_signing_alg_values_supported': json['id_token_signing_alg_values_supported'] == null ? undefined : json['id_token_signing_alg_values_supported'],
        'userinfo_signing_alg_values_supported': json['userinfo_signing_alg_values_supported'] == null ? undefined : json['userinfo_signing_alg_values_supported'],
        'request_object_signing_alg_values_supported': json['request_object_signing_alg_values_supported'] == null ? undefined : json['request_object_signing_alg_values_supported'],
        'claims_supported': json['claims_supported'] == null ? undefined : json['claims_supported'],
        'service_documentation': json['service_documentation'] == null ? undefined : json['service_documentation'],
        'claims_parameter_supported': json['claims_parameter_supported'] == null ? undefined : json['claims_parameter_supported'],
        'token_endpoint_auth_methods_supported': json['token_endpoint_auth_methods_supported'] == null ? undefined : json['token_endpoint_auth_methods_supported'],
    };
}
export function OIDConnectConfigurationToJSON(json) {
    return OIDConnectConfigurationToJSONTyped(json, false);
}
export function OIDConnectConfigurationToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'issuer': value['issuer'],
        'authorization_endpoint': value['authorization_endpoint'],
        'token_endpoint': value['token_endpoint'],
        'revocation_endpoint': value['revocation_endpoint'],
        'userinfo_endpoint': value['userinfo_endpoint'],
        'introspection_endpoint': value['introspection_endpoint'],
        'jwks_uri': value['jwks_uri'],
        'registration_endpoint': value['registration_endpoint'],
        'scopes_supported': value['scopes_supported'],
        'response_types_supported': value['response_types_supported'],
        'grant_types_supported': value['grant_types_supported'],
        'subject_types_supported': value['subject_types_supported'],
        'id_token_signing_alg_values_supported': value['id_token_signing_alg_values_supported'],
        'userinfo_signing_alg_values_supported': value['userinfo_signing_alg_values_supported'],
        'request_object_signing_alg_values_supported': value['request_object_signing_alg_values_supported'],
        'claims_supported': value['claims_supported'],
        'service_documentation': value['service_documentation'],
        'claims_parameter_supported': value['claims_parameter_supported'],
        'token_endpoint_auth_methods_supported': value['token_endpoint_auth_methods_supported'],
    };
}
//# sourceMappingURL=OIDConnectConfiguration.js.map