58 lines
1.3 KiB
TypeScript
58 lines
1.3 KiB
TypeScript
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* Keycloak Admin REST API
|
|
* This is a REST API reference for the Keycloak Admin
|
|
*
|
|
* The version of the OpenAPI document: 1
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
import { exists, mapValues } from '../runtime';
|
|
/**
|
|
*
|
|
* @export
|
|
* @interface AccessTokenCertConf
|
|
*/
|
|
export interface AccessTokenCertConf {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof AccessTokenCertConf
|
|
*/
|
|
x5tS256?: string;
|
|
}
|
|
|
|
export function AccessTokenCertConfFromJSON(json: any): AccessTokenCertConf {
|
|
return AccessTokenCertConfFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function AccessTokenCertConfFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccessTokenCertConf {
|
|
if ((json === undefined) || (json === null)) {
|
|
return json;
|
|
}
|
|
return {
|
|
|
|
'x5tS256': !exists(json, 'x5t#S256') ? undefined : json['x5t#S256'],
|
|
};
|
|
}
|
|
|
|
export function AccessTokenCertConfToJSON(value?: AccessTokenCertConf | null): any {
|
|
if (value === undefined) {
|
|
return undefined;
|
|
}
|
|
if (value === null) {
|
|
return null;
|
|
}
|
|
return {
|
|
|
|
'x5t#S256': value.x5tS256,
|
|
};
|
|
}
|
|
|
|
|