/* 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 OAuthTokenIntrospectionResponseTokenTypeEnum = {
    OIDC_ACCESS_TOKEN: 'OIDC_ACCESS_TOKEN',
    OIDC_ID_TOKEN: 'OIDC_ID_TOKEN',
    PERSONAL_ACCESS_TOKEN: 'PERSONAL_ACCESS_TOKEN',
    WEBHOOK_MESSAGE_TOKEN: 'WEBHOOK_MESSAGE_TOKEN'
};
/**
 * Check if a given object implements the OAuthTokenIntrospectionResponse interface.
 */
export function instanceOfOAuthTokenIntrospectionResponse(value) {
    return true;
}
export function OAuthTokenIntrospectionResponseFromJSON(json) {
    return OAuthTokenIntrospectionResponseFromJSONTyped(json, false);
}
export function OAuthTokenIntrospectionResponseFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'active': json['active'] == null ? undefined : json['active'],
        'scope': json['scope'] == null ? undefined : json['scope'],
        'aud': json['aud'] == null ? undefined : json['aud'],
        'sub': json['sub'] == null ? undefined : json['sub'],
        'token_type': json['token_type'] == null ? undefined : json['token_type'],
        'exp': json['exp'] == null ? undefined : json['exp'],
        'iat': json['iat'] == null ? undefined : json['iat'],
        'auth_time': json['auth_time'] == null ? undefined : json['auth_time'],
        'iss': json['iss'] == null ? undefined : json['iss'],
        'jti': json['jti'] == null ? undefined : json['jti'],
    };
}
export function OAuthTokenIntrospectionResponseToJSON(json) {
    return OAuthTokenIntrospectionResponseToJSONTyped(json, false);
}
export function OAuthTokenIntrospectionResponseToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'active': value['active'],
        'scope': value['scope'],
        'aud': value['aud'],
        'sub': value['sub'],
        'token_type': value['token_type'],
        'exp': value['exp'],
        'iat': value['iat'],
        'auth_time': value['auth_time'],
        'iss': value['iss'],
        'jti': value['jti'],
    };
}
//# sourceMappingURL=OAuthTokenIntrospectionResponse.js.map