UNPKG

@ydbjs/auth

Version:

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

11 lines 348 B
import { CredentialsProvider } from './index.js'; /** * Provides anonymous credentials for authentication. * The token returned by this provider is always an empty string. */ export class AnonymousCredentialsProvider extends CredentialsProvider { getToken() { return Promise.resolve(''); } } //# sourceMappingURL=anonymous.js.map