/** * Innovation Search Engine API * * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { TokenType } from './tokenType'; import { UserRole } from './userRole'; export interface AccessToken { /** * The unique identifier of the real account associated with this token. */ real_account_id: string; /** * The timestamp indicating when the token will expire. */ expires_at: string; /** * The epoch value for the token. Used for versioning of tokens. */ epoch?: number; /** * The type of the token, which is always ACCESS_TOKEN for this class. */ token_type?: TokenType; /** * A unique fingerprint of the user, used for additional security checks. */ user_fingerprint_hash: string; /** * The unique identifier of the effective account associated with this access token. This may differ from the real account ID due to account impersonation. */ effective_account_id: string; /** * The specific role this access token grants within its organization. */ effective_role?: UserRole; /** * The roles this access token grants within its organization. */ effective_roles?: Array; /** * The unique identifier of the organization associated with this access token. */ effective_organization_id: string; effective_institution_id?: string | null; /** * The raw string representation of the access token. This is the actual token that can be used for authentication and authorization purposes. */ raw_token: string; } export namespace AccessToken {}