import type { UmbUserLoginState } from '../../packages/core/auth/index.js'; import { UmbControllerBase } from '../../libs/class-api/index.js'; import type { UmbControllerHost } from '../../libs/controller-api/index.js'; export declare class UmbAppAuthController extends UmbControllerBase { #private; constructor(host: UmbControllerHost); /** * Checks if the user is authorized. * If not, the authorization flow is started. * Session verification is handled by setInitialState() before the router evaluates guards. */ isAuthorized(): Promise; /** * Starts the authorization flow. * It will check which providers are available and either redirect directly to the provider or show a provider selection screen. * @param userLoginState */ makeAuthorizationRequest(userLoginState?: UmbUserLoginState): Promise; }