/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using System.Runtime.Versioning;
namespace OpenIddict.Client.SystemIntegration;
///
/// Provides various settings needed to configure the OpenIddict client system integration.
///
public enum OpenIddictClientSystemIntegrationAuthenticationMode
{
///
/// Browser-based authentication.
///
SystemBrowser = 0,
///
/// Windows web authentication broker-based authentication.
///
///
/// Note: the web authentication broker is only supported in UWP applications
/// and its use is generally not recommended due to its inherent limitations.
///
[SupportedOSPlatform("windows10.0.17763")]
WebAuthenticationBroker = 1
}