import { AuthenticationProviderInterface, TokenManagerInterface } from '../interfaces'; import { UserProviderManager } from '../user-providers/user-provider-manager'; import { TokenInterface } from '@rxstack/core'; import { SecurityConfiguration } from '../security-configuration'; export declare class TokenAuthenticationProvider implements AuthenticationProviderInterface { private userProvider; private tokenManager; private config; static readonly PROVIDER_NAME = "token"; constructor(userProvider: UserProviderManager, tokenManager: TokenManagerInterface, config: SecurityConfiguration); authenticate(token: TokenInterface): Promise; getName(): string; support(token: TokenInterface): boolean; private getPayload; private getUserFromPayload; }