import { Type } from '@angular/core'; import { IdentityProviderInfo } from './identity-provider'; import { IdentityProviderSelectorService } from './identity-provider-selector.service'; import * as i0 from "@angular/core"; /** * Library configuration */ export declare class AuthConfig { /** * An instance of the default configuration for the library */ static defaults: AuthConfig; /** * The relative url path of this app's functions api */ apiUrl: string; /** * The identity providers available to login with. Defaults to the list of managed idp provided by azure * static web apps service * @see {managedIdentityProviders} */ identityProviders: IdentityProviderInfo[]; /** * The service that will select the identity provider to login with. Defaults to * a service that will select the first entry from `identityProviders` */ identityProviderSelectorType?: Type; /** * Trigger login flow when there is an unauthorized response from your functions app api. */ loginOnUnauthorizedApiRequests: boolean; /** * The relative url of your functions app api endpoint to send the authentication session events */ sessionEventsApiUrl: string; /** * Send authentication session events to your functions app api? */ sendSessionEventsToApi: boolean; /** * The client-side route to redirect to when the user is found to be unauthorized */ unauthorizedRoute: string; /** * Return a clone of the current instance overriding the current fields using the `values` supplied * @param values Override values */ with(values: Partial): this & { availableIdentityProviders: IdentityProviderInfo[]; apiUrl?: string | undefined; identityProviders?: IdentityProviderInfo[] | undefined; identityProviderSelectorType?: Type | undefined; loginOnUnauthorizedApiRequests?: boolean | undefined; sessionEventsApiUrl?: string | undefined; sendSessionEventsToApi?: boolean | undefined; unauthorizedRoute?: string | undefined; with?: ((values: Partial) => AuthConfig & { availableIdentityProviders: IdentityProviderInfo[]; apiUrl?: string | undefined; identityProviders?: IdentityProviderInfo[] | undefined; identityProviderSelectorType?: Type | undefined; loginOnUnauthorizedApiRequests?: boolean | undefined; sessionEventsApiUrl?: string | undefined; sendSessionEventsToApi?: boolean | undefined; unauthorizedRoute?: string | undefined; with?: any | undefined; }) | undefined; }; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }