/** * Dashboard API * Dashboard API documentation * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import { AuthorizedClient, AuthorizedClientList, UpdateAuthorizedClientRequest } from '../models'; export interface RevokeAuthorizedClientRequest { authorizedClientId: string; } export interface UpdateAuthorizedClientOperationRequest { authorizedClientId: string; updateAuthorizedClientRequest: UpdateAuthorizedClientRequest; } /** * */ export declare class AuthorizedClientsApi extends runtime.BaseAPI { /** * Returns the caller\'s authorized clients (active, revoked, and expired, newest first). Used by the `Profile → Authorized Clients` page. * List the caller\'s authorized clients */ listAuthorizedClientsRaw(initOverrides?: RequestInit): Promise>; /** * Returns the caller\'s authorized clients (active, revoked, and expired, newest first). Used by the `Profile → Authorized Clients` page. * List the caller\'s authorized clients */ listAuthorizedClients(initOverrides?: RequestInit): Promise; /** * Sets `revoked_at = now()`. Subsequent API calls carrying the JWT for this client return 401 immediately (the auth middleware checks `revoked_at` on every request via the `cid` JWT claim). Idempotent. * Revoke an authorized client */ revokeAuthorizedClientRaw(requestParameters: RevokeAuthorizedClientRequest, initOverrides?: RequestInit): Promise>; /** * Sets `revoked_at = now()`. Subsequent API calls carrying the JWT for this client return 401 immediately (the auth middleware checks `revoked_at` on every request via the `cid` JWT claim). Idempotent. * Revoke an authorized client */ revokeAuthorizedClient(requestParameters: RevokeAuthorizedClientRequest, initOverrides?: RequestInit): Promise; /** * Renames an authorized client. Currently only `label` is editable. * Update an authorized client (label only) */ updateAuthorizedClientRaw(requestParameters: UpdateAuthorizedClientOperationRequest, initOverrides?: RequestInit): Promise>; /** * Renames an authorized client. Currently only `label` is editable. * Update an authorized client (label only) */ updateAuthorizedClient(requestParameters: UpdateAuthorizedClientOperationRequest, initOverrides?: RequestInit): Promise; }