This repository has been archived by the owner on Dec 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
WebAuthenticationOptions.cs
45 lines (39 loc) · 1.81 KB
/
WebAuthenticationOptions.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="WebAuthenticationOptions.cs" company="In The Hand Ltd">
// Copyright (c) 2019 In The Hand Ltd, All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
using System;
namespace InTheHand.Security.Authentication.Web
{
/// <summary>
/// Contains the options available to the asynchronous operation.
/// </summary>
[Flags]
public enum WebAuthenticationOptions
{
/// <summary>
/// No options are requested.
/// </summary>
None = 0,
/// <summary>
/// Tells the web authentication broker to not render any UI.
/// This option will throw an exception if used with AuthenticateAndContinue; AuthenticateSilentlyAsync, which includes this option implicitly, should be used instead.
/// </summary>
SilentMode = 1,
/// <summary>
/// Tells the web authentication broker to return the window title string of the webpage in the ResponseData property.
/// </summary>
UseTitle = 2,
/// <summary>
/// Tells the web authentication broker to return the body of the HTTP POST in the ResponseData property.
/// For use with single sign-on (SSO) only.
/// </summary>
UseHttpPost = 4,
/// <summary>
/// Tells the web authentication broker to render the webpage in an app container that supports privateNetworkClientServer, enterpriseAuthentication, and sharedUserCertificate capabilities.
/// Note the application that uses this flag must have these capabilities as well.
/// </summary>
UseCorporateNetwork = 8,
}
}