/* * 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; /// /// Represents the authentication mode used to start interactive authentication and logout flows. /// public enum OpenIddictClientSystemIntegrationAuthenticationMode { /// /// Browser-based authentication and logout. /// SystemBrowser = 0, /// /// Windows web authentication broker-based authentication and logout. /// /// /// 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, /// /// AS web authentication session-based authentication and logout. /// [SupportedOSPlatform("ios12.0")] [SupportedOSPlatform("maccatalyst13.0")] [SupportedOSPlatform("macos10.15")] ASWebAuthenticationSession = 2 }