import type { UserProfile } from 'oidc-client-ts'; import type { AuthGuardOptions } from '../core'; import type { AccessToken } from './models/access-token.model'; import type { LoginArgs, LogoutArgs, RenewArgs } from './models/args.model'; import type { IdToken } from './models/id-token.model'; import type { OIDCAuthSettings } from './models/oidc-auth-settings.model'; import type { UserSession } from './models/user-session.model'; import type { OIDCAuthManager } from './oidc-auth-manager'; export declare abstract class OIDCAuthService { protected manager: OIDCAuthManager; constructor(manager: OIDCAuthManager); /** * @param args * @see {@link OIDCAuthManager.login} */ login(args?: LoginArgs): Promise; /** * @param args * @see {@link OIDCAuthManager.logout} */ logout(args?: LogoutArgs): Promise; /** * @param args * @see {@link OIDCAuthManager.renew} */ renew(args?: RenewArgs): Promise; /** * @see {@link OIDCAuthManager.isRenewing} */ isRenewing(): boolean; /** * @see {@link OIDCAuthManager.isAuthenticated} */ isAuthenticated(): Promise; /** * @see {@link OIDCAuthManager.getSettings} */ getSettings(): T; /** * @see {@link OIDCAuthManager.getUserProfile} */ getUserProfile(): Promise; /** * @see {@link OIDCAuthManager.getUserSession} */ getUserSession(): Promise; /** * @see {@link OIDCAuthManager.getIdToken} */ getIdToken(): Promise; /** * @see {@link OIDCAuthManager.getIdTokenDecoded} */ getIdTokenDecoded(): Promise; /** * @see {@link OIDCAuthManager.getAccessToken} */ getAccessToken(): Promise; /** * @see {@link OIDCAuthManager.getAccessTokenDecoded} */ getAccessTokenDecoded(): Promise; /** * @param toUrl * @param options * @see {@link OIDCAuthManager.runGuard} */ runGuard(toUrl: string, options?: AuthGuardOptions): Promise; }