IAppConfig Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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/UWP, 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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기