import { AuthStrategyType } from '../../../../models/security/authentication'; import { BaseGdbLoginStrategy } from './base-gdb-login-strategy'; export declare class ExternalStrategy extends BaseGdbLoginStrategy { private readonly securityContextService; type: AuthStrategyType; /** * Initializes the authentication provider. Since the user is externally authenticated, we assume he is already logged in. * @returns Promise resolving to true, as the external user is assumed to be authenticated. */ initialize(): Promise; /** * Checks if a user is currently authenticated. * @returns True if a user is authenticated, false otherwise. */ isAuthenticated(): boolean; /** * Logs out the current user. Since the user is externally authenticated, this method throws an error. */ logout(): Promise; /** * Indicates that this strategy is for external users. * @returns true, as this strategy is for external authentication. */ isExternal(): boolean; }