UNPKG

@ydbjs/auth

Version:

Authentication providers for YDB: static credentials, tokens, anonymous, and cloud metadata. Integrates with the core driver for secure access.

7 lines 496 B
import { type CallOptions, type ClientMiddlewareCall } from 'nice-grpc'; export declare abstract class CredentialsProvider { constructor(); abstract getToken(force?: boolean, signal?: AbortSignal): Promise<string>; readonly middleware: <Request = unknown, Response = unknown>(this: CredentialsProvider, call: ClientMiddlewareCall<Request, Response>, options: CallOptions) => AsyncGenerator<Awaited<Response>, void | Awaited<Response>, undefined>; } //# sourceMappingURL=index.d.ts.map