Udostępnij za pośrednictwem


IAppConfig Interface

Definition

Configuration properties used to build a public or confidential client application.

public interface IAppConfig
type IAppConfig = interface
Public Interface IAppConfig

Properties

ClientCapabilities

Microsoft Identity specific OIDC extension that allows resource challenges to be resolved without interaction. Allows configuration of one or more client capabilities, e.g. "llt"

ClientCredentialCertificate
ClientId

Client ID (also known as App ID) of the application as registered in the application registration portal (https://aka.ms/msal-net-register-app).

ClientName

The name of the calling application for telemetry purposes.

ClientSecret
ClientVersion

The version of the calling application for telemetry purposes.

EnablePiiLogging

Flag telling if logging of Personally Identifiable Information (PII) is enabled/disabled for the application. See https://aka.ms/msal-net-logging.

ExperimentalFeaturesEnabled

Allows usage of features that are experimental and would otherwise throw a specific exception. Use of experimental features in production is not recommended and are subject to be removed between builds. For details see https://aka.ms/msal-net-experimental-features.

ExtraQueryParameters

Extra query parameters that will be applied to every acquire token operation. See WithExtraQueryParameters(IDictionary<String,String>)

HttpClientFactory

IMsalHttpClientFactory used to get HttpClient instances to communicate with the identity provider.

IsBrokerEnabled

Indicates whether or not the current application object is configured to use brokered authentication.

IsDefaultPlatformLoggingEnabled

Flag telling if logging to platform defaults is enabled/disabled for the app. In Desktop, Event Tracing is used. In iOS, NSLog is used. In Android, logcat is used. See https://aka.ms/msal-net-logging.

LegacyCacheCompatibilityEnabled

Enables legacy ADAL cache serialization and deserialization.

LoggingCallback

Callback used for logging. It was set with WithLogging(LogCallback, Nullable<LogLevel>, Nullable<Boolean>, Nullable<Boolean>) See https://aka.ms/msal-net-logging

LogLevel

Level of logging requested for the app. See https://aka.ms/msal-net-logging.

ParentActivityOrWindowFunc
RedirectUri

Redirect URI for the application. See RedirectUri

TelemetryConfig
TenantId

Audience for the application. See TenantId

Applies to