-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparing for Managed Identity support in PnP Framework
- Loading branch information
1 parent
c35d8eb
commit b292850
Showing
4 changed files
with
119 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,38 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
|
||
namespace PnP.PowerShell.Commands.Model | ||
namespace PnP.PowerShell.Commands.Model | ||
{ | ||
/// <summary> | ||
/// The authentication types that can be used to create a connection | ||
/// </summary> | ||
public enum ConnectionMethod | ||
{ | ||
Unspecified, | ||
WebLogin, | ||
|
||
/// <summary> | ||
/// Using interactive logon or by passing in credentials | ||
/// </summary> | ||
Credentials, | ||
|
||
/// <summary> | ||
/// By passing in an access token to the connect | ||
/// </summary> | ||
AccessToken, | ||
|
||
AzureADAppOnly, | ||
AzureADNativeApplication, | ||
ADFS, | ||
GraphDeviceLogin, | ||
|
||
/// <summary> | ||
/// Using a Device Login | ||
/// </summary> | ||
DeviceLogin, | ||
|
||
/// <summary> | ||
/// Using a System Assigned or User Assigned Managed Identity | ||
/// </summary> | ||
ManagedIdentity, | ||
|
||
AzureADWorkloadIdentity | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters