/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2025.6.3 * 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. */ import { mapValues } from '../runtime'; /** * Show token's current key * @export * @interface TokenView */ export interface TokenView { /** * * @type {string} * @memberof TokenView */ readonly key: string; } /** * Check if a given object implements the TokenView interface. */ export function instanceOfTokenView(value: object): value is TokenView { if (!('key' in value) || value['key'] === undefined) return false; return true; } export function TokenViewFromJSON(json: any): TokenView { return TokenViewFromJSONTyped(json, false); } export function TokenViewFromJSONTyped(json: any, ignoreDiscriminator: boolean): TokenView { if (json == null) { return json; } return { 'key': json['key'], }; } export function TokenViewToJSON(json: any): TokenView { return TokenViewToJSONTyped(json, false); } export function TokenViewToJSONTyped(value?: Omit | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { }; }