Interface IAppConfig
Configuration properties used to build a public or confidential client application.
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"
IEnumerable<string> ClientCapabilities { get; }
Property Value
Remarks
MSAL will transform these into a "access_token" claims request. See https://openid.net/specs/openid-connect-core-1_0-final.html#ClaimsParameter for details on claim requests. For more details see https://aka.ms/msal-net-claims-request
ClientCredentialCertificate
X509Certificate2 ClientCredentialCertificate { get; }
Property Value
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).
string ClientId { get; }
Property Value
ClientName
The name of the calling application for telemetry purposes.
string ClientName { get; }
Property Value
ClientSecret
string ClientSecret { get; }
Property Value
ClientVersion
The version of the calling application for telemetry purposes.
string ClientVersion { get; }
Property Value
EnablePiiLogging
Flag telling if logging of Personally Identifiable Information (PII) is enabled/disabled for the application. See https://aka.ms/msal-net-logging.
bool EnablePiiLogging { get; }
Property Value
- See Also
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.
bool ExperimentalFeaturesEnabled { get; }
Property Value
ExtraQueryParameters
Extra query parameters that will be applied to every acquire token operation. See WithExtraQueryParameters(IDictionary<string, string>)
IDictionary<string, string> ExtraQueryParameters { get; }
Property Value
HttpClientFactory
IMsalHttpClientFactory used to get HttpClient instances to communicate with the identity provider.
IMsalHttpClientFactory HttpClientFactory { get; }
Property Value
IsBrokerEnabled
Indicates whether or not the current application object is configured to use brokered authentication.
bool IsBrokerEnabled { get; }
Property Value
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.
bool IsDefaultPlatformLoggingEnabled { get; }
Property Value
LegacyCacheCompatibilityEnabled
Enables legacy ADAL cache serialization and deserialization.
bool LegacyCacheCompatibilityEnabled { get; }
Property Value
LogLevel
Level of logging requested for the app. See https://aka.ms/msal-net-logging.
LogLevel LogLevel { get; }
Property Value
LoggingCallback
Callback used for logging. It was set with WithLogging(LogCallback, LogLevel?, bool?, bool?) See https://aka.ms/msal-net-logging
LogCallback LoggingCallback { get; }
Property Value
ParentActivityOrWindowFunc
Func<object> ParentActivityOrWindowFunc { get; }
Property Value
RedirectUri
Redirect URI for the application. See RedirectUri
string RedirectUri { get; }
Property Value
TenantId
Audience for the application. See TenantId
string TenantId { get; }