diff --git a/api/PnP.Framework.AuthenticationManager.html b/api/PnP.Framework.AuthenticationManager.html index 5f3eafbf7..62988ae66 100644 --- a/api/PnP.Framework.AuthenticationManager.html +++ b/api/PnP.Framework.AuthenticationManager.html @@ -1254,7 +1254,7 @@

Methods - + @@ -1289,7 +1289,7 @@

Declaration
- + @@ -2375,7 +2375,7 @@
Returns
- + @@ -2410,7 +2410,7 @@
Declaration
- + @@ -2518,6 +2518,87 @@
Returns
+ + + + + + + + + + + + +

GetAccessToken(String, CancellationToken, Prompt, String, String)

+ +
+
+
+
Declaration
+ +
+
public string GetAccessToken(string siteUrl, CancellationToken cancellationToken, Prompt prompt = null, string appName = "PnP", string appUrl = "https://pnp.github.io")
+
+ +
Parameters
+ + + + + + + + + + + + + + + + +
+ System.String + siteUrl +

+

+ CancellationToken + cancellationToken +

+

+ Prompt + prompt +

+

+ System.String + appName +

+

+ System.String + appUrl +

+

+ +
Returns
+ + + + +
+ System.String +

+

+ + + + + + + + + +
@@ -2587,7 +2668,7 @@
Returns
- + @@ -2716,24 +2797,23 @@
Returns
- + - + -

GetAccessTokenAsync(String[], CancellationToken, Prompt, Uri)

+

GetAccessTokenAsync(String[], CancellationToken, Prompt, Uri, String, String)

-
-

Returns an access token for the given scopes.

-
+
+
Declaration
-
public async Task<string> GetAccessTokenAsync(string[] scopes, CancellationToken cancellationToken, Prompt prompt = null, Uri uri = null)
+
public async Task<string> GetAccessTokenAsync(string[] scopes, CancellationToken cancellationToken, Prompt prompt = null, Uri uri = null, string appName = "PnP", string appUrl = "https://pnp.github.io")
Parameters
@@ -2742,32 +2822,42 @@
Parameters
System.String[] scopes -

The scopes to retrieve the access token for

-

+

CancellationToken cancellationToken -

Optional cancellation token to cancel the request

-

+

Prompt prompt -

The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored.

-

+

Uri uri -

for ClientContextType.PnPCoreSdk case as by interface definition needed for GetAccessTokenAsync

-

+

+ + + + + System.String + appName +

+ + + + + System.String + appUrl +

@@ -2798,7 +2888,7 @@

Returns
- + @@ -2861,7 +2951,7 @@
Returns
- + @@ -2925,7 +3015,7 @@
Returns
- + @@ -2989,7 +3079,7 @@
Returns
- + @@ -3061,7 +3151,7 @@
Returns
- + @@ -3141,7 +3231,7 @@
Returns
- + @@ -3237,7 +3327,7 @@
Returns
- + @@ -3293,7 +3383,7 @@
Returns
- + @@ -3349,7 +3439,7 @@
Returns
- + @@ -3405,7 +3495,7 @@
Returns
- + @@ -3448,7 +3538,7 @@
Returns
- + @@ -3501,7 +3591,7 @@
Returns
- + @@ -3568,7 +3658,7 @@
Returns
- + @@ -3628,7 +3718,7 @@
Returns
- + @@ -3679,24 +3769,23 @@
Returns
- + - + -

GetContext(String, CancellationToken)

+

GetContext(String, CancellationToken, String, String)

-
-

Returns a CSOM ClientContext which has been set up for Azure AD OAuth authentication

-
+
+
Declaration
-
public ClientContext GetContext(string siteUrl, CancellationToken cancellationToken)
+
public ClientContext GetContext(string siteUrl, CancellationToken cancellationToken, string appName = "PnP", string appUrl = "https://pnp.github.io")
Parameters
@@ -3712,8 +3801,21 @@
Parameters
CancellationToken cancellationToken -

Optional cancellation token to cancel the request

-

+

+ + + + + System.String + appName +

+ + + + + System.String + appUrl +

@@ -3744,7 +3846,7 @@

Returns
- + @@ -3795,24 +3897,23 @@
Returns
- + - + -

GetContextAsync(String, CancellationToken)

+

GetContextAsync(String, CancellationToken, String, String)

-
-

Returns a CSOM ClientContext which has been set up for Azure AD OAuth authentication

-
+
+
Declaration
-
public async Task<ClientContext> GetContextAsync(string siteUrl, CancellationToken cancellationToken)
+
public async Task<ClientContext> GetContextAsync(string siteUrl, CancellationToken cancellationToken, string appName = "PnP", string appUrl = "https://pnp.github.io")
Parameters
@@ -3828,8 +3929,21 @@
Parameters
CancellationToken cancellationToken -

Optional cancellation token to cancel the request

-

+

+ + + + + System.String + appName +

+ + + + + System.String + appUrl +

@@ -3860,7 +3974,7 @@

Returns
- + @@ -3905,7 +4019,7 @@
Returns
- + @@ -3961,7 +4075,7 @@
Returns
- + @@ -4005,7 +4119,7 @@
Returns
- + @@ -4059,7 +4173,7 @@
Returns
- + @@ -4102,7 +4216,7 @@
Returns
- + @@ -4155,7 +4269,7 @@
Returns
- + @@ -4215,7 +4329,7 @@
Returns
- + @@ -4282,7 +4396,7 @@
Returns
- + @@ -4336,7 +4450,7 @@
Returns
- + @@ -4392,7 +4506,7 @@
Returns
- + @@ -4448,7 +4562,7 @@
Returns
- + @@ -4504,7 +4618,7 @@
Returns
- + @@ -4560,7 +4674,7 @@
Returns
- + diff --git a/index.json b/index.json index 6a5b570a8..097021b6d 100644 --- a/index.json +++ b/index.json @@ -292,7 +292,7 @@ "api/PnP.Framework.AuthenticationManager.html": { "href": "api/PnP.Framework.AuthenticationManager.html", "title": "Class AuthenticationManager | PnP Framework", - "keywords": "Class AuthenticationManager This manager class can be used to obtain a SharePoint Client Context object Inheritance System.Object AuthenticationManager Namespace : PnP.Framework Assembly : PnP.Framework.dll Syntax public class AuthenticationManager : IDisposable Constructors AuthenticationManager() Empty constructor, to be used if you want to execute ACS based authentication methods. Declaration public AuthenticationManager() AuthenticationManager(IAuthenticationProvider) Creates an AuthenticationManager for the given PnP Core SDK . Declaration public AuthenticationManager(IAuthenticationProvider authenticationProvider) Parameters IAuthenticationProvider authenticationProvider PnP Core SDK AuthenticationManager(PnPContext) Creates an AuthenticationManager for the given PnP Core SDK Declaration public AuthenticationManager(PnPContext pnPContext) Parameters PnPContext pnPContext PnP Core SDK AuthenticationManager(SecureString) Declaration public AuthenticationManager(SecureString accessToken) Parameters SecureString accessToken AuthenticationManager(String, Action, String, String, String, AzureEnvironment, Action, Boolean) Creates a new instance of the Authentication Manager to acquire access tokens and client contexts using the Azure AD Interactive flow. Declaration public AuthenticationManager(string clientId, Action openBrowserCallback, string tenantId = null, string successMessageHtml = null, string failureMessageHtml = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null, bool useWAM = false) Parameters System.String clientId The client id of the Azure AD application to use for authentication Action < System.String , System.Int32 > openBrowserCallback This callback will be called providing the URL and port to open during the authentication flow System.String tenantId Optional tenant id or tenant url System.String successMessageHtml Allows you to override the success message. Notice that a success header message will be added. System.String failureMessageHtml llows you to override the failure message. Notice that a failed header message will be added and the error message will be appended. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called to register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . System.Boolean useWAM If true, uses WAM for authentication. Works only on Windows OS AuthenticationManager(String, Func, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts through device code authentication Declaration public AuthenticationManager(string clientId, Func deviceCodeCallback, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication Func < DeviceCodeResult , Task > deviceCodeCallback The callback that will be called with device code information. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . AuthenticationManager(String, StoreName, StoreLocation, String, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public AuthenticationManager(string clientId, StoreName storeName, StoreLocation storeLocation, string thumbPrint, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication StoreName storeName The name of the certificate store to find the certificate in. StoreLocation storeLocation The location of the certificate store to find the certificate in. System.String thumbPrint The thumbprint of the certificate to use. System.String tenantId The tenant id (guid) or name (e.g. contoso.onmicrosoft.com) System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . AuthenticationManager(String, String, Func, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts through device code authentication Declaration public AuthenticationManager(string clientId, string tenantId, Func deviceCodeCallback, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String tenantId Optional tenant id or tenant url Func < DeviceCodeResult , Task > deviceCodeCallback The callback that will be called with device code information. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . AuthenticationManager(String, String, ManagedIdentityType, String) Creates a new instance of the Authentication Manager that works with a System Assigned or User Assigned Managed Identity in Azure Declaration public AuthenticationManager(string endpoint, string identityHeader, ManagedIdentityType managedIdentityType = default(ManagedIdentityType), string managedIdentityUserAssignedIdentifier = null) Parameters System.String endpoint The endpoint at which the Managed Identity Service is being hosted from which a token can be acquired System.String identityHeader Identity header available as an environment variable in Azure. Used to help mitigate server-side request forgery (SSRF) attacks. ManagedIdentityType managedIdentityType Type of Managed Identity that should be used. Defaults to System Assigned Managed Identity. System.String managedIdentityUserAssignedIdentifier The identifier of the User Assigned Managed Identity. Can be the clientId, objectId or resourceId. Mandatory when managedIdentityType is not SystemAssigned. Should be omitted if it is SystemAssigned. AuthenticationManager(String, String, SecureString, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public AuthenticationManager(string clientId, string username, SecureString password, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String username The username to use for authentication SecureString password The password to use for authentication System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . AuthenticationManager(String, String, String, AzureEnvironment, Action, ICustomWebUi, Boolean) Creates a new instance of the Authentication Manager to acquire access tokens and client contexts using the Azure AD Interactive flow. Declaration public AuthenticationManager(string clientId, string redirectUrl = null, string tenantId = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null, ICustomWebUi customWebUi = null, bool useWAM = false) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application System.String tenantId Optional tenant id or tenant url AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . ICustomWebUi customWebUi Optional ICustomWebUi object to fully customize the feedback behavior System.Boolean useWAM If true, uses WAM for authentication. Works only for Windows OS platform AuthenticationManager(String, String, String, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public AuthenticationManager(string clientId, string certificatePath, string certificatePassword, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String certificatePath A valid path to a certificate file System.String certificatePassword The password for the certificate System.String tenantId The tenant id (guid) or name (e.g. contoso.onmicrosoft.com) System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . AuthenticationManager(String, String, UserAssertion, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContext. Declaration public AuthenticationManager(string clientId, string clientSecret, UserAssertion userAssertion, string tenantId = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication. System.String clientSecret The client secret of the Azure AD application to use for authentication. UserAssertion userAssertion The user assertion (token) of the user on whose behalf to acquire the context System.String tenantId Optional tenant id or tenant url AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback AuthenticationManager(String, X509Certificate2, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public AuthenticationManager(string clientId, X509Certificate2 certificate, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication X509Certificate2 certificate A valid certificate System.String tenantId Tenant id or tenant url System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Fields CLIENTID_SPOMANAGEMENTSHELL The client id of the Microsoft SharePoint Online Management Shell application Declaration public const string CLIENTID_SPOMANAGEMENTSHELL = null Field Value System.String Properties CookieContainer Declaration public CookieContainer CookieContainer { get; set; } Property Value CookieContainer Methods ClearTokenCache() Clears the internal in-memory token cache used by MSAL Declaration public void ClearTokenCache() ClearTokenCacheAsync() Clears the internal in-memory token cache used by MSAL Declaration public async Task ClearTokenCacheAsync() Returns Task CreateWithAccessToken(SecureString) Declaration public static AuthenticationManager CreateWithAccessToken(SecureString accessToken) Parameters SecureString accessToken Returns AuthenticationManager CreateWithCertificate(String, StoreName, StoreLocation, String, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public static AuthenticationManager CreateWithCertificate(string clientId, StoreName storeName, StoreLocation storeLocation, string thumbPrint, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication StoreName storeName The name of the certificate store to find the certificate in. StoreLocation storeLocation The location of the certificate store to find the certificate in. System.String thumbPrint The thumbprint of the certificate to use. System.String tenantId The tenant id (guid) or name (e.g. contoso.onmicrosoft.com) System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithCertificate(String, String, String, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public static AuthenticationManager CreateWithCertificate(string clientId, string certificatePath, string certificatePassword, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String certificatePath A valid path to a certificate file System.String certificatePassword The password for the certificate System.String tenantId The tenant id (guid) or name (e.g. contoso.onmicrosoft.com) System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithCertificate(String, X509Certificate2, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public static AuthenticationManager CreateWithCertificate(string clientId, X509Certificate2 certificate, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication X509Certificate2 certificate A valid certificate System.String tenantId Tenant id or tenant url System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithCredentials(String, String, SecureString, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public static AuthenticationManager CreateWithCredentials(string clientId, string username, SecureString password, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String username The username to use for authentication SecureString password The password to use for authentication System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithDeviceLogin(String, Func, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts through device code authentication Declaration public static AuthenticationManager CreateWithDeviceLogin(string clientId, Func deviceCodeCallback, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication Func < DeviceCodeResult , Task > deviceCodeCallback The callback that will be called with device code information. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithDeviceLogin(String, String, Func, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts through device code authentication Declaration public static AuthenticationManager CreateWithDeviceLogin(string clientId, string tenantId, Func deviceCodeCallback, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String tenantId Optional tenant id or tenant url Func < DeviceCodeResult , Task > deviceCodeCallback The callback that will be called with device code information. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithInteractiveLogin(String, Action, String, String, String, AzureEnvironment, Action, Boolean) Creates a new instance of the Authentication Manager to acquire access tokens and client contexts using the Azure AD Interactive flow. Declaration public static AuthenticationManager CreateWithInteractiveLogin(string clientId, Action openBrowserCallback, string tenantId = null, string successMessageHtml = null, string failureMessageHtml = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null, bool useWAM = false) Parameters System.String clientId The client id of the Azure AD application to use for authentication Action < System.String , System.Int32 > openBrowserCallback This callback will be called providing the URL and port to open during the authentication flow System.String tenantId Optional tenant id or tenant url System.String successMessageHtml Allows you to override the success message. Notice that a success header message will be added. System.String failureMessageHtml llows you to override the failure message. Notice that a failed header message will be added and the error message will be appended. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called to register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . System.Boolean useWAM If true, uses WAM for authentication. Works only on Windows OS. Default is false Returns AuthenticationManager CreateWithInteractiveLogin(String, String, String, AzureEnvironment, Action, ICustomWebUi, Boolean) Creates a new instance of the Authentication Manager to acquire access tokens and client contexts using the Azure AD Interactive flow. Declaration public static AuthenticationManager CreateWithInteractiveLogin(string clientId, string redirectUrl = null, string tenantId = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null, ICustomWebUi customWebUi = null, bool useWAM = false) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application System.String tenantId Optional tenant id or tenant url AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . ICustomWebUi customWebUi Optional ICustomWebUi object to fully customize the feedback behavior System.Boolean useWAM If true, uses WAM for authentication. Works only on Windows OS Returns AuthenticationManager CreateWithOnBehalfOf(String, String, UserAssertion, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContext. Declaration public static AuthenticationManager CreateWithOnBehalfOf(string clientId, string clientSecret, UserAssertion userAssertion, string tenantId = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication. System.String clientSecret The client secret of the Azure AD application to use for authentication. UserAssertion userAssertion The user assertion (token) of the user on whose behalf to acquire the context System.String tenantId Optional tenant id or tenant url AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithPnPCoreSdk(IAuthenticationProvider) Creates a new instance of the Authentication Manager to acquire an authenticated ClientContext. Declaration public static AuthenticationManager CreateWithPnPCoreSdk(IAuthenticationProvider authenticationProvider) Parameters IAuthenticationProvider authenticationProvider PnP Core SDK authentication provider that will deliver the access token Returns AuthenticationManager CreateWithPnPCoreSdk(PnPContext) Creates a new instance of the Authentication Manager to acquire an authenticated ClientContext. Declaration public static AuthenticationManager CreateWithPnPCoreSdk(PnPContext pnpContext) Parameters PnPContext pnpContext PnP Core SDK authentication provider that will deliver the access token Returns AuthenticationManager Dispose() Dispose the object Declaration public void Dispose() Dispose(Boolean) called when disposing the object Declaration protected virtual void Dispose(bool disposing) Parameters System.Boolean disposing GetAccessToken(String, CancellationToken, Prompt) Returns an access token for a given site. Declaration public string GetAccessToken(string siteUrl, CancellationToken cancellationToken, Prompt prompt = null) Parameters System.String siteUrl CancellationToken cancellationToken Optional cancellation token to cancel the request Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Returns System.String GetAccessToken(String, Prompt) Returns an access token for a given site. Declaration public string GetAccessToken(string siteUrl, Prompt prompt = null) Parameters System.String siteUrl Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Returns System.String GetAccessTokenAsync(String, CancellationToken, Prompt) Returns an access token for a given site. Declaration public async Task GetAccessTokenAsync(string siteUrl, CancellationToken cancellationToken, Prompt prompt = null) Parameters System.String siteUrl CancellationToken cancellationToken Optional cancellation token to cancel the request Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Returns Task < System.String > GetAccessTokenAsync(String, Prompt) Returns an access token for a given site. Declaration public async Task GetAccessTokenAsync(string siteUrl, Prompt prompt = null) Parameters System.String siteUrl Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Returns Task < System.String > GetAccessTokenAsync(String[], CancellationToken, Prompt, Uri) Returns an access token for the given scopes. Declaration public async Task GetAccessTokenAsync(string[] scopes, CancellationToken cancellationToken, Prompt prompt = null, Uri uri = null) Parameters System.String [] scopes The scopes to retrieve the access token for CancellationToken cancellationToken Optional cancellation token to cancel the request Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Uri uri for ClientContextType.PnPCoreSdk case as by interface definition needed for GetAccessTokenAsync Returns Task < System.String > GetAccessTokenAsync(String[], Prompt) Returns an access token for the given scopes. Declaration public async Task GetAccessTokenAsync(string[] scopes, Prompt prompt = null) Parameters System.String [] scopes The scopes to retrieve the access token for Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Returns Task < System.String > GetAccessTokenContext(String, Func) Returns a SharePoint ClientContext using a custom access token function. The function will be called with the Resource Uri and expected to return an access token as a string. Declaration public ClientContext GetAccessTokenContext(string siteUrl, Func accessTokenGetter) Parameters System.String siteUrl Site for which the ClientContext object will be instantiated Func < System.String , System.String > accessTokenGetter The AccessToken getter method to use Returns ClientContext Client context object GetAccessTokenContext(String, String) Returns a SharePoint ClientContext using custom provided access token. Declaration public ClientContext GetAccessTokenContext(string siteUrl, string accessToken) Parameters System.String siteUrl Site for which the ClientContext object will be instantiated System.String accessToken An explicit value for the AccessToken Returns ClientContext Client context object GetACSAppOnlyContext(String, String, String) Returns an app only ClientContext object Declaration public ClientContext GetACSAppOnlyContext(string siteUrl, string appId, string appSecret) Parameters System.String siteUrl Site for which the ClientContext object will be instantiated System.String appId Application ID which is requesting the ClientContext object System.String appSecret Application secret of the Application which is requesting the ClientContext object Returns ClientContext ClientContext to be used by CSOM code GetACSAppOnlyContext(String, String, String, AzureEnvironment) Returns an app only ClientContext object Declaration public ClientContext GetACSAppOnlyContext(string siteUrl, string appId, string appSecret, AzureEnvironment environment = default(AzureEnvironment)) Parameters System.String siteUrl Site for which the ClientContext object will be instantiated System.String appId Application ID which is requesting the ClientContext object System.String appSecret Application secret of the Application which is requesting the ClientContext object AzureEnvironment environment SharePoint environment being used Returns ClientContext ClientContext to be used by CSOM code GetACSAppOnlyContext(String, String, String, String, String, String) Returns an app only ClientContext object Declaration public ClientContext GetACSAppOnlyContext(string siteUrl, string realm, string appId, string appSecret, string acsHostUrl = \"accesscontrol.windows.net\", string globalEndPointPrefix = \"accounts\") Parameters System.String siteUrl Site for which the ClientContext object will be instantiated System.String realm Realm of the environment (tenant) that requests the ClientContext object, may be null System.String appId Application ID which is requesting the ClientContext object System.String appSecret Application secret of the Application which is requesting the ClientContext object System.String acsHostUrl Azure ACS host, defaults to accesscontrol.windows.net but internal pre-production environments use other hosts System.String globalEndPointPrefix Azure ACS endpoint prefix, defaults to accounts but internal pre-production environments use other prefixes Returns ClientContext ClientContext to be used by CSOM code GetACSEndPoint(AzureEnvironment) Gets the Azure ASC login end point for the given environment Declaration public static string GetACSEndPoint(AzureEnvironment environment) Parameters AzureEnvironment environment Environment to get the login information for Returns System.String Azure ASC login endpoint GetACSEndPointPrefix(AzureEnvironment) Gets the Azure ACS login end point prefix for the given environment Declaration public static string GetACSEndPointPrefix(AzureEnvironment environment) Parameters AzureEnvironment environment Environment to get the login information for Returns System.String Azure ACS login endpoint prefix GetAzureADLoginEndPoint(AzureEnvironment) Gets the Azure AD login end point for the given environment Declaration public string GetAzureADLoginEndPoint(AzureEnvironment environment) Parameters AzureEnvironment environment Environment to get the login information for Returns System.String Azure AD login endpoint GetAzureAdLoginEndPointForCustomAzureEnvironmentConfiguration() Declaration public string GetAzureAdLoginEndPointForCustomAzureEnvironmentConfiguration() Returns System.String GetAzureADLoginEndPointStatic(AzureEnvironment) Declaration public static string GetAzureADLoginEndPointStatic(AzureEnvironment environment) Parameters AzureEnvironment environment Returns System.String GetBuilderWithAuthority(ConfidentialClientApplicationBuilder, AzureEnvironment, String) Declaration public ConfidentialClientApplicationBuilder GetBuilderWithAuthority(ConfidentialClientApplicationBuilder builder, AzureEnvironment azureEnvironment, string tenantId = \"\") Parameters ConfidentialClientApplicationBuilder builder AzureEnvironment azureEnvironment System.String tenantId Returns ConfidentialClientApplicationBuilder GetBuilderWithAuthority(PublicClientApplicationBuilder, AzureEnvironment) Declaration public PublicClientApplicationBuilder GetBuilderWithAuthority(PublicClientApplicationBuilder builder, AzureEnvironment azureEnvironment) Parameters PublicClientApplicationBuilder builder AzureEnvironment azureEnvironment Returns PublicClientApplicationBuilder GetContext(String) Returns a CSOM ClientContext which has been set up for Azure AD OAuth authentication Declaration public ClientContext GetContext(string siteUrl) Parameters System.String siteUrl Returns ClientContext GetContext(String, CancellationToken) Returns a CSOM ClientContext which has been set up for Azure AD OAuth authentication Declaration public ClientContext GetContext(string siteUrl, CancellationToken cancellationToken) Parameters System.String siteUrl CancellationToken cancellationToken Optional cancellation token to cancel the request Returns ClientContext GetContextAsync(String) Returns a CSOM ClientContext which has been set up for Azure AD OAuth authentication Declaration public async Task GetContextAsync(string siteUrl) Parameters System.String siteUrl Returns Task < ClientContext > GetContextAsync(String, CancellationToken) Returns a CSOM ClientContext which has been set up for Azure AD OAuth authentication Declaration public async Task GetContextAsync(string siteUrl, CancellationToken cancellationToken) Parameters System.String siteUrl CancellationToken cancellationToken Optional cancellation token to cancel the request Returns Task < ClientContext > GetGraphBaseEndPoint() Gets the URI to use for making Graph calls based upon the environment Declaration public Uri GetGraphBaseEndPoint() Returns Uri Graph URI for given environment GetGraphBaseEndPoint(AzureEnvironment) Gets the URI to use for making Graph calls based upon the environment Declaration public static Uri GetGraphBaseEndPoint(AzureEnvironment environment) Parameters AzureEnvironment environment Environment to get the Graph URI for Returns Uri Graph URI for given environment GetGraphEndPoint() Returns the Graph End Point url without protocol based upon the Azure Environment selected during creation of the Authentication Manager Declaration public string GetGraphEndPoint() Returns System.String GetGraphEndPoint(AzureEnvironment) Returns the Graph End Point url without protocol based upon the provided Azure Environment Declaration public static string GetGraphEndPoint(AzureEnvironment environment) Parameters AzureEnvironment environment Returns System.String GetGraphEndPointForCustomAzureEnvironmentConfiguration() Declaration public string GetGraphEndPointForCustomAzureEnvironmentConfiguration() Returns System.String GetOnPremisesContext(String) Declaration public ClientContext GetOnPremisesContext(string siteUrl) Parameters System.String siteUrl Returns ClientContext GetOnPremisesContext(String, ICredentials) Declaration public ClientContext GetOnPremisesContext(string siteUrl, ICredentials credentials) Parameters System.String siteUrl ICredentials credentials Returns ClientContext GetOnPremisesContext(String, String, SecureString) Declaration public ClientContext GetOnPremisesContext(string siteUrl, string userName, SecureString password) Parameters System.String siteUrl System.String userName SecureString password Returns ClientContext GetSharePointDomainSuffix(AzureEnvironment) Returns a domain suffix (com, us, de, cn) for an Azure Environment Declaration public static string GetSharePointDomainSuffix(AzureEnvironment environment) Parameters AzureEnvironment environment Returns System.String GetTenantAdministrationUri(String) Returns the equivalent SharePoint Admin url for the passed in SharePoint url Declaration public static Uri GetTenantAdministrationUri(string url) Parameters System.String url Any SharePoint url for the tenant you need to SharePoint Admin Center URL for Returns Uri SharePoint Admin Center URL GetTenantAdministrationUrl(String) Returns the equivalent SharePoint Admin url for the passed in SharePoint url Declaration public static string GetTenantAdministrationUrl(string url) Parameters System.String url Any SharePoint url for the tenant you need to SharePoint Admin Center URL for Returns System.String SharePoint Admin Center URL IsTenantAdministrationUri(Uri) Is the provided URL an SharePoint Admin center URL Declaration public static bool IsTenantAdministrationUri(Uri uri) Parameters Uri uri SharePoint URL to check Returns System.Boolean True if Admin Center URL, false otherwise IsTenantAdministrationUrl(String) Is the provided URL an SharePoint Admin center URL Declaration public static bool IsTenantAdministrationUrl(string url) Parameters System.String url SharePoint URL to check Returns System.Boolean True if Admin Center URL, false otherwise SetEndPointsForCustomAzureEnvironmentConfiguration(String, String) Declaration public void SetEndPointsForCustomAzureEnvironmentConfiguration(string microsoftGraphEndPoint, string azureADLoginEndPoint) Parameters System.String microsoftGraphEndPoint System.String azureADLoginEndPoint Extension Methods ValidationExtensions.ValidateNotNullOrEmpty(T, String) ObjectExtensions.Set(TObject, Expression>, T, Boolean, Boolean) ObjectExtensions.GetPublicInstancePropertyValue(Object, String) ObjectExtensions.GetPublicInstanceProperty(Object, String) ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object) Extensions.ToByteArray(Object)" + "keywords": "Class AuthenticationManager This manager class can be used to obtain a SharePoint Client Context object Inheritance System.Object AuthenticationManager Namespace : PnP.Framework Assembly : PnP.Framework.dll Syntax public class AuthenticationManager : IDisposable Constructors AuthenticationManager() Empty constructor, to be used if you want to execute ACS based authentication methods. Declaration public AuthenticationManager() AuthenticationManager(IAuthenticationProvider) Creates an AuthenticationManager for the given PnP Core SDK . Declaration public AuthenticationManager(IAuthenticationProvider authenticationProvider) Parameters IAuthenticationProvider authenticationProvider PnP Core SDK AuthenticationManager(PnPContext) Creates an AuthenticationManager for the given PnP Core SDK Declaration public AuthenticationManager(PnPContext pnPContext) Parameters PnPContext pnPContext PnP Core SDK AuthenticationManager(SecureString) Declaration public AuthenticationManager(SecureString accessToken) Parameters SecureString accessToken AuthenticationManager(String, Action, String, String, String, AzureEnvironment, Action, Boolean) Creates a new instance of the Authentication Manager to acquire access tokens and client contexts using the Azure AD Interactive flow. Declaration public AuthenticationManager(string clientId, Action openBrowserCallback, string tenantId = null, string successMessageHtml = null, string failureMessageHtml = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null, bool useWAM = false) Parameters System.String clientId The client id of the Azure AD application to use for authentication Action < System.String , System.Int32 > openBrowserCallback This callback will be called providing the URL and port to open during the authentication flow System.String tenantId Optional tenant id or tenant url System.String successMessageHtml Allows you to override the success message. Notice that a success header message will be added. System.String failureMessageHtml llows you to override the failure message. Notice that a failed header message will be added and the error message will be appended. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called to register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . System.Boolean useWAM If true, uses WAM for authentication. Works only on Windows OS AuthenticationManager(String, Func, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts through device code authentication Declaration public AuthenticationManager(string clientId, Func deviceCodeCallback, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication Func < DeviceCodeResult , Task > deviceCodeCallback The callback that will be called with device code information. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . AuthenticationManager(String, StoreName, StoreLocation, String, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public AuthenticationManager(string clientId, StoreName storeName, StoreLocation storeLocation, string thumbPrint, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication StoreName storeName The name of the certificate store to find the certificate in. StoreLocation storeLocation The location of the certificate store to find the certificate in. System.String thumbPrint The thumbprint of the certificate to use. System.String tenantId The tenant id (guid) or name (e.g. contoso.onmicrosoft.com) System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . AuthenticationManager(String, String, Func, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts through device code authentication Declaration public AuthenticationManager(string clientId, string tenantId, Func deviceCodeCallback, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String tenantId Optional tenant id or tenant url Func < DeviceCodeResult , Task > deviceCodeCallback The callback that will be called with device code information. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . AuthenticationManager(String, String, ManagedIdentityType, String) Creates a new instance of the Authentication Manager that works with a System Assigned or User Assigned Managed Identity in Azure Declaration public AuthenticationManager(string endpoint, string identityHeader, ManagedIdentityType managedIdentityType = default(ManagedIdentityType), string managedIdentityUserAssignedIdentifier = null) Parameters System.String endpoint The endpoint at which the Managed Identity Service is being hosted from which a token can be acquired System.String identityHeader Identity header available as an environment variable in Azure. Used to help mitigate server-side request forgery (SSRF) attacks. ManagedIdentityType managedIdentityType Type of Managed Identity that should be used. Defaults to System Assigned Managed Identity. System.String managedIdentityUserAssignedIdentifier The identifier of the User Assigned Managed Identity. Can be the clientId, objectId or resourceId. Mandatory when managedIdentityType is not SystemAssigned. Should be omitted if it is SystemAssigned. AuthenticationManager(String, String, SecureString, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public AuthenticationManager(string clientId, string username, SecureString password, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String username The username to use for authentication SecureString password The password to use for authentication System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . AuthenticationManager(String, String, String, AzureEnvironment, Action, ICustomWebUi, Boolean) Creates a new instance of the Authentication Manager to acquire access tokens and client contexts using the Azure AD Interactive flow. Declaration public AuthenticationManager(string clientId, string redirectUrl = null, string tenantId = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null, ICustomWebUi customWebUi = null, bool useWAM = false) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application System.String tenantId Optional tenant id or tenant url AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . ICustomWebUi customWebUi Optional ICustomWebUi object to fully customize the feedback behavior System.Boolean useWAM If true, uses WAM for authentication. Works only for Windows OS platform AuthenticationManager(String, String, String, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public AuthenticationManager(string clientId, string certificatePath, string certificatePassword, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String certificatePath A valid path to a certificate file System.String certificatePassword The password for the certificate System.String tenantId The tenant id (guid) or name (e.g. contoso.onmicrosoft.com) System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . AuthenticationManager(String, String, UserAssertion, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContext. Declaration public AuthenticationManager(string clientId, string clientSecret, UserAssertion userAssertion, string tenantId = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication. System.String clientSecret The client secret of the Azure AD application to use for authentication. UserAssertion userAssertion The user assertion (token) of the user on whose behalf to acquire the context System.String tenantId Optional tenant id or tenant url AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback AuthenticationManager(String, X509Certificate2, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public AuthenticationManager(string clientId, X509Certificate2 certificate, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication X509Certificate2 certificate A valid certificate System.String tenantId Tenant id or tenant url System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Fields CLIENTID_SPOMANAGEMENTSHELL The client id of the Microsoft SharePoint Online Management Shell application Declaration public const string CLIENTID_SPOMANAGEMENTSHELL = null Field Value System.String Properties CookieContainer Declaration public CookieContainer CookieContainer { get; set; } Property Value CookieContainer Methods ClearTokenCache() Clears the internal in-memory token cache used by MSAL Declaration public void ClearTokenCache() ClearTokenCacheAsync() Clears the internal in-memory token cache used by MSAL Declaration public async Task ClearTokenCacheAsync() Returns Task CreateWithAccessToken(SecureString) Declaration public static AuthenticationManager CreateWithAccessToken(SecureString accessToken) Parameters SecureString accessToken Returns AuthenticationManager CreateWithCertificate(String, StoreName, StoreLocation, String, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public static AuthenticationManager CreateWithCertificate(string clientId, StoreName storeName, StoreLocation storeLocation, string thumbPrint, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication StoreName storeName The name of the certificate store to find the certificate in. StoreLocation storeLocation The location of the certificate store to find the certificate in. System.String thumbPrint The thumbprint of the certificate to use. System.String tenantId The tenant id (guid) or name (e.g. contoso.onmicrosoft.com) System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithCertificate(String, String, String, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public static AuthenticationManager CreateWithCertificate(string clientId, string certificatePath, string certificatePassword, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String certificatePath A valid path to a certificate file System.String certificatePassword The password for the certificate System.String tenantId The tenant id (guid) or name (e.g. contoso.onmicrosoft.com) System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithCertificate(String, X509Certificate2, String, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public static AuthenticationManager CreateWithCertificate(string clientId, X509Certificate2 certificate, string tenantId, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication X509Certificate2 certificate A valid certificate System.String tenantId Tenant id or tenant url System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithCredentials(String, String, SecureString, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts. Declaration public static AuthenticationManager CreateWithCredentials(string clientId, string username, SecureString password, string redirectUrl = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String username The username to use for authentication SecureString password The password to use for authentication System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithDeviceLogin(String, Func, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts through device code authentication Declaration public static AuthenticationManager CreateWithDeviceLogin(string clientId, Func deviceCodeCallback, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication Func < DeviceCodeResult , Task > deviceCodeCallback The callback that will be called with device code information. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithDeviceLogin(String, String, Func, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContexts through device code authentication Declaration public static AuthenticationManager CreateWithDeviceLogin(string clientId, string tenantId, Func deviceCodeCallback, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String tenantId Optional tenant id or tenant url Func < DeviceCodeResult , Task > deviceCodeCallback The callback that will be called with device code information. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithInteractiveLogin(String, Action, String, String, String, AzureEnvironment, Action, Boolean) Creates a new instance of the Authentication Manager to acquire access tokens and client contexts using the Azure AD Interactive flow. Declaration public static AuthenticationManager CreateWithInteractiveLogin(string clientId, Action openBrowserCallback, string tenantId = null, string successMessageHtml = null, string failureMessageHtml = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null, bool useWAM = false) Parameters System.String clientId The client id of the Azure AD application to use for authentication Action < System.String , System.Int32 > openBrowserCallback This callback will be called providing the URL and port to open during the authentication flow System.String tenantId Optional tenant id or tenant url System.String successMessageHtml Allows you to override the success message. Notice that a success header message will be added. System.String failureMessageHtml llows you to override the failure message. Notice that a failed header message will be added and the error message will be appended. AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called to register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . System.Boolean useWAM If true, uses WAM for authentication. Works only on Windows OS. Default is false Returns AuthenticationManager CreateWithInteractiveLogin(String, String, String, AzureEnvironment, Action, ICustomWebUi, Boolean) Creates a new instance of the Authentication Manager to acquire access tokens and client contexts using the Azure AD Interactive flow. Declaration public static AuthenticationManager CreateWithInteractiveLogin(string clientId, string redirectUrl = null, string tenantId = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null, ICustomWebUi customWebUi = null, bool useWAM = false) Parameters System.String clientId The client id of the Azure AD application to use for authentication System.String redirectUrl Optional redirect URL to use for authentication as set up in the Azure AD Application System.String tenantId Optional tenant id or tenant url AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . ICustomWebUi customWebUi Optional ICustomWebUi object to fully customize the feedback behavior System.Boolean useWAM If true, uses WAM for authentication. Works only on Windows OS Returns AuthenticationManager CreateWithOnBehalfOf(String, String, UserAssertion, String, AzureEnvironment, Action) Creates a new instance of the Authentication Manager to acquire authenticated ClientContext. Declaration public static AuthenticationManager CreateWithOnBehalfOf(string clientId, string clientSecret, UserAssertion userAssertion, string tenantId = null, AzureEnvironment azureEnvironment = default(AzureEnvironment), Action tokenCacheCallback = null) Parameters System.String clientId The client id of the Azure AD application to use for authentication. System.String clientSecret The client secret of the Azure AD application to use for authentication. UserAssertion userAssertion The user assertion (token) of the user on whose behalf to acquire the context System.String tenantId Optional tenant id or tenant url AzureEnvironment azureEnvironment The azure environment to use. Defaults to AzureEnvironment.Production Action < ITokenCache > tokenCacheCallback If present, after setting up the base flow for authentication this callback will be called register a custom tokencache. See https://aka.ms/msal-net-token-cache-serialization . Returns AuthenticationManager CreateWithPnPCoreSdk(IAuthenticationProvider) Creates a new instance of the Authentication Manager to acquire an authenticated ClientContext. Declaration public static AuthenticationManager CreateWithPnPCoreSdk(IAuthenticationProvider authenticationProvider) Parameters IAuthenticationProvider authenticationProvider PnP Core SDK authentication provider that will deliver the access token Returns AuthenticationManager CreateWithPnPCoreSdk(PnPContext) Creates a new instance of the Authentication Manager to acquire an authenticated ClientContext. Declaration public static AuthenticationManager CreateWithPnPCoreSdk(PnPContext pnpContext) Parameters PnPContext pnpContext PnP Core SDK authentication provider that will deliver the access token Returns AuthenticationManager Dispose() Dispose the object Declaration public void Dispose() Dispose(Boolean) called when disposing the object Declaration protected virtual void Dispose(bool disposing) Parameters System.Boolean disposing GetAccessToken(String, CancellationToken, Prompt) Returns an access token for a given site. Declaration public string GetAccessToken(string siteUrl, CancellationToken cancellationToken, Prompt prompt = null) Parameters System.String siteUrl CancellationToken cancellationToken Optional cancellation token to cancel the request Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Returns System.String GetAccessToken(String, CancellationToken, Prompt, String, String) Declaration public string GetAccessToken(string siteUrl, CancellationToken cancellationToken, Prompt prompt = null, string appName = \"PnP\", string appUrl = \"https://pnp.github.io\") Parameters System.String siteUrl CancellationToken cancellationToken Prompt prompt System.String appName System.String appUrl Returns System.String GetAccessToken(String, Prompt) Returns an access token for a given site. Declaration public string GetAccessToken(string siteUrl, Prompt prompt = null) Parameters System.String siteUrl Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Returns System.String GetAccessTokenAsync(String, CancellationToken, Prompt) Returns an access token for a given site. Declaration public async Task GetAccessTokenAsync(string siteUrl, CancellationToken cancellationToken, Prompt prompt = null) Parameters System.String siteUrl CancellationToken cancellationToken Optional cancellation token to cancel the request Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Returns Task < System.String > GetAccessTokenAsync(String, Prompt) Returns an access token for a given site. Declaration public async Task GetAccessTokenAsync(string siteUrl, Prompt prompt = null) Parameters System.String siteUrl Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Returns Task < System.String > GetAccessTokenAsync(String[], CancellationToken, Prompt, Uri, String, String) Declaration public async Task GetAccessTokenAsync(string[] scopes, CancellationToken cancellationToken, Prompt prompt = null, Uri uri = null, string appName = \"PnP\", string appUrl = \"https://pnp.github.io\") Parameters System.String [] scopes CancellationToken cancellationToken Prompt prompt Uri uri System.String appName System.String appUrl Returns Task < System.String > GetAccessTokenAsync(String[], Prompt) Returns an access token for the given scopes. Declaration public async Task GetAccessTokenAsync(string[] scopes, Prompt prompt = null) Parameters System.String [] scopes The scopes to retrieve the access token for Prompt prompt The prompt style to use. Notice that this only works with the Interactive Login flow, for all other flows this parameter is ignored. Returns Task < System.String > GetAccessTokenContext(String, Func) Returns a SharePoint ClientContext using a custom access token function. The function will be called with the Resource Uri and expected to return an access token as a string. Declaration public ClientContext GetAccessTokenContext(string siteUrl, Func accessTokenGetter) Parameters System.String siteUrl Site for which the ClientContext object will be instantiated Func < System.String , System.String > accessTokenGetter The AccessToken getter method to use Returns ClientContext Client context object GetAccessTokenContext(String, String) Returns a SharePoint ClientContext using custom provided access token. Declaration public ClientContext GetAccessTokenContext(string siteUrl, string accessToken) Parameters System.String siteUrl Site for which the ClientContext object will be instantiated System.String accessToken An explicit value for the AccessToken Returns ClientContext Client context object GetACSAppOnlyContext(String, String, String) Returns an app only ClientContext object Declaration public ClientContext GetACSAppOnlyContext(string siteUrl, string appId, string appSecret) Parameters System.String siteUrl Site for which the ClientContext object will be instantiated System.String appId Application ID which is requesting the ClientContext object System.String appSecret Application secret of the Application which is requesting the ClientContext object Returns ClientContext ClientContext to be used by CSOM code GetACSAppOnlyContext(String, String, String, AzureEnvironment) Returns an app only ClientContext object Declaration public ClientContext GetACSAppOnlyContext(string siteUrl, string appId, string appSecret, AzureEnvironment environment = default(AzureEnvironment)) Parameters System.String siteUrl Site for which the ClientContext object will be instantiated System.String appId Application ID which is requesting the ClientContext object System.String appSecret Application secret of the Application which is requesting the ClientContext object AzureEnvironment environment SharePoint environment being used Returns ClientContext ClientContext to be used by CSOM code GetACSAppOnlyContext(String, String, String, String, String, String) Returns an app only ClientContext object Declaration public ClientContext GetACSAppOnlyContext(string siteUrl, string realm, string appId, string appSecret, string acsHostUrl = \"accesscontrol.windows.net\", string globalEndPointPrefix = \"accounts\") Parameters System.String siteUrl Site for which the ClientContext object will be instantiated System.String realm Realm of the environment (tenant) that requests the ClientContext object, may be null System.String appId Application ID which is requesting the ClientContext object System.String appSecret Application secret of the Application which is requesting the ClientContext object System.String acsHostUrl Azure ACS host, defaults to accesscontrol.windows.net but internal pre-production environments use other hosts System.String globalEndPointPrefix Azure ACS endpoint prefix, defaults to accounts but internal pre-production environments use other prefixes Returns ClientContext ClientContext to be used by CSOM code GetACSEndPoint(AzureEnvironment) Gets the Azure ASC login end point for the given environment Declaration public static string GetACSEndPoint(AzureEnvironment environment) Parameters AzureEnvironment environment Environment to get the login information for Returns System.String Azure ASC login endpoint GetACSEndPointPrefix(AzureEnvironment) Gets the Azure ACS login end point prefix for the given environment Declaration public static string GetACSEndPointPrefix(AzureEnvironment environment) Parameters AzureEnvironment environment Environment to get the login information for Returns System.String Azure ACS login endpoint prefix GetAzureADLoginEndPoint(AzureEnvironment) Gets the Azure AD login end point for the given environment Declaration public string GetAzureADLoginEndPoint(AzureEnvironment environment) Parameters AzureEnvironment environment Environment to get the login information for Returns System.String Azure AD login endpoint GetAzureAdLoginEndPointForCustomAzureEnvironmentConfiguration() Declaration public string GetAzureAdLoginEndPointForCustomAzureEnvironmentConfiguration() Returns System.String GetAzureADLoginEndPointStatic(AzureEnvironment) Declaration public static string GetAzureADLoginEndPointStatic(AzureEnvironment environment) Parameters AzureEnvironment environment Returns System.String GetBuilderWithAuthority(ConfidentialClientApplicationBuilder, AzureEnvironment, String) Declaration public ConfidentialClientApplicationBuilder GetBuilderWithAuthority(ConfidentialClientApplicationBuilder builder, AzureEnvironment azureEnvironment, string tenantId = \"\") Parameters ConfidentialClientApplicationBuilder builder AzureEnvironment azureEnvironment System.String tenantId Returns ConfidentialClientApplicationBuilder GetBuilderWithAuthority(PublicClientApplicationBuilder, AzureEnvironment) Declaration public PublicClientApplicationBuilder GetBuilderWithAuthority(PublicClientApplicationBuilder builder, AzureEnvironment azureEnvironment) Parameters PublicClientApplicationBuilder builder AzureEnvironment azureEnvironment Returns PublicClientApplicationBuilder GetContext(String) Returns a CSOM ClientContext which has been set up for Azure AD OAuth authentication Declaration public ClientContext GetContext(string siteUrl) Parameters System.String siteUrl Returns ClientContext GetContext(String, CancellationToken, String, String) Declaration public ClientContext GetContext(string siteUrl, CancellationToken cancellationToken, string appName = \"PnP\", string appUrl = \"https://pnp.github.io\") Parameters System.String siteUrl CancellationToken cancellationToken System.String appName System.String appUrl Returns ClientContext GetContextAsync(String) Returns a CSOM ClientContext which has been set up for Azure AD OAuth authentication Declaration public async Task GetContextAsync(string siteUrl) Parameters System.String siteUrl Returns Task < ClientContext > GetContextAsync(String, CancellationToken, String, String) Declaration public async Task GetContextAsync(string siteUrl, CancellationToken cancellationToken, string appName = \"PnP\", string appUrl = \"https://pnp.github.io\") Parameters System.String siteUrl CancellationToken cancellationToken System.String appName System.String appUrl Returns Task < ClientContext > GetGraphBaseEndPoint() Gets the URI to use for making Graph calls based upon the environment Declaration public Uri GetGraphBaseEndPoint() Returns Uri Graph URI for given environment GetGraphBaseEndPoint(AzureEnvironment) Gets the URI to use for making Graph calls based upon the environment Declaration public static Uri GetGraphBaseEndPoint(AzureEnvironment environment) Parameters AzureEnvironment environment Environment to get the Graph URI for Returns Uri Graph URI for given environment GetGraphEndPoint() Returns the Graph End Point url without protocol based upon the Azure Environment selected during creation of the Authentication Manager Declaration public string GetGraphEndPoint() Returns System.String GetGraphEndPoint(AzureEnvironment) Returns the Graph End Point url without protocol based upon the provided Azure Environment Declaration public static string GetGraphEndPoint(AzureEnvironment environment) Parameters AzureEnvironment environment Returns System.String GetGraphEndPointForCustomAzureEnvironmentConfiguration() Declaration public string GetGraphEndPointForCustomAzureEnvironmentConfiguration() Returns System.String GetOnPremisesContext(String) Declaration public ClientContext GetOnPremisesContext(string siteUrl) Parameters System.String siteUrl Returns ClientContext GetOnPremisesContext(String, ICredentials) Declaration public ClientContext GetOnPremisesContext(string siteUrl, ICredentials credentials) Parameters System.String siteUrl ICredentials credentials Returns ClientContext GetOnPremisesContext(String, String, SecureString) Declaration public ClientContext GetOnPremisesContext(string siteUrl, string userName, SecureString password) Parameters System.String siteUrl System.String userName SecureString password Returns ClientContext GetSharePointDomainSuffix(AzureEnvironment) Returns a domain suffix (com, us, de, cn) for an Azure Environment Declaration public static string GetSharePointDomainSuffix(AzureEnvironment environment) Parameters AzureEnvironment environment Returns System.String GetTenantAdministrationUri(String) Returns the equivalent SharePoint Admin url for the passed in SharePoint url Declaration public static Uri GetTenantAdministrationUri(string url) Parameters System.String url Any SharePoint url for the tenant you need to SharePoint Admin Center URL for Returns Uri SharePoint Admin Center URL GetTenantAdministrationUrl(String) Returns the equivalent SharePoint Admin url for the passed in SharePoint url Declaration public static string GetTenantAdministrationUrl(string url) Parameters System.String url Any SharePoint url for the tenant you need to SharePoint Admin Center URL for Returns System.String SharePoint Admin Center URL IsTenantAdministrationUri(Uri) Is the provided URL an SharePoint Admin center URL Declaration public static bool IsTenantAdministrationUri(Uri uri) Parameters Uri uri SharePoint URL to check Returns System.Boolean True if Admin Center URL, false otherwise IsTenantAdministrationUrl(String) Is the provided URL an SharePoint Admin center URL Declaration public static bool IsTenantAdministrationUrl(string url) Parameters System.String url SharePoint URL to check Returns System.Boolean True if Admin Center URL, false otherwise SetEndPointsForCustomAzureEnvironmentConfiguration(String, String) Declaration public void SetEndPointsForCustomAzureEnvironmentConfiguration(string microsoftGraphEndPoint, string azureADLoginEndPoint) Parameters System.String microsoftGraphEndPoint System.String azureADLoginEndPoint Extension Methods ValidationExtensions.ValidateNotNullOrEmpty(T, String) ObjectExtensions.Set(TObject, Expression>, T, Boolean, Boolean) ObjectExtensions.GetPublicInstancePropertyValue(Object, String) ObjectExtensions.GetPublicInstanceProperty(Object, String) ObjectExtensions.SetPublicInstancePropertyValue(Object, String, Object) Extensions.ToByteArray(Object)" }, "api/PnP.Framework.AzureEnvironment.html": { "href": "api/PnP.Framework.AzureEnvironment.html", diff --git a/manifest.json b/manifest.json index 92b64c033..b8a284152 100644 --- a/manifest.json +++ b/manifest.json @@ -714,7 +714,7 @@ "output": { ".html": { "relative_path": "api/PnP.Framework.AuthenticationManager.html", - "hash": "R9JkHtTtZTN08j7720l3Wjxhj3rdh6MysQwV4OSVu30=" + "hash": "uS8Zdn2Wcq+66eKCrJSpfftrOIujC2AQEqp0ry2acrI=" } }, "is_incremental": false, diff --git a/xrefmap.yml b/xrefmap.yml index 31e560c42..3945c7a4e 100644 --- a/xrefmap.yml +++ b/xrefmap.yml @@ -10879,6 +10879,12 @@ references: commentId: M:PnP.Framework.AuthenticationManager.GetAccessToken(System.String,CancellationToken,Prompt) fullName: PnP.Framework.AuthenticationManager.GetAccessToken(System.String, CancellationToken, Prompt) nameWithType: AuthenticationManager.GetAccessToken(String, CancellationToken, Prompt) +- uid: PnP.Framework.AuthenticationManager.GetAccessToken(System.String,CancellationToken,Prompt,System.String,System.String) + name: GetAccessToken(String, CancellationToken, Prompt, String, String) + href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetAccessToken_System_String_CancellationToken_Prompt_System_String_System_String_ + commentId: M:PnP.Framework.AuthenticationManager.GetAccessToken(System.String,CancellationToken,Prompt,System.String,System.String) + fullName: PnP.Framework.AuthenticationManager.GetAccessToken(System.String, CancellationToken, Prompt, System.String, System.String) + nameWithType: AuthenticationManager.GetAccessToken(String, CancellationToken, Prompt, String, String) - uid: PnP.Framework.AuthenticationManager.GetAccessToken(System.String,Prompt) name: GetAccessToken(String, Prompt) href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetAccessToken_System_String_Prompt_ @@ -10904,15 +10910,15 @@ references: commentId: M:PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String,Prompt) fullName: PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String, Prompt) nameWithType: AuthenticationManager.GetAccessTokenAsync(String, Prompt) -- uid: PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String[],CancellationToken,Prompt,Uri) - name: GetAccessTokenAsync(String[], CancellationToken, Prompt, Uri) - href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetAccessTokenAsync_System_String___CancellationToken_Prompt_Uri_ - commentId: M:PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String[],CancellationToken,Prompt,Uri) - name.vb: GetAccessTokenAsync(String(), CancellationToken, Prompt, Uri) - fullName: PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String[], CancellationToken, Prompt, Uri) - fullName.vb: PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String(), CancellationToken, Prompt, Uri) - nameWithType: AuthenticationManager.GetAccessTokenAsync(String[], CancellationToken, Prompt, Uri) - nameWithType.vb: AuthenticationManager.GetAccessTokenAsync(String(), CancellationToken, Prompt, Uri) +- uid: PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String[],CancellationToken,Prompt,Uri,System.String,System.String) + name: GetAccessTokenAsync(String[], CancellationToken, Prompt, Uri, String, String) + href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetAccessTokenAsync_System_String___CancellationToken_Prompt_Uri_System_String_System_String_ + commentId: M:PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String[],CancellationToken,Prompt,Uri,System.String,System.String) + name.vb: GetAccessTokenAsync(String(), CancellationToken, Prompt, Uri, String, String) + fullName: PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String[], CancellationToken, Prompt, Uri, System.String, System.String) + fullName.vb: PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String(), CancellationToken, Prompt, Uri, System.String, System.String) + nameWithType: AuthenticationManager.GetAccessTokenAsync(String[], CancellationToken, Prompt, Uri, String, String) + nameWithType.vb: AuthenticationManager.GetAccessTokenAsync(String(), CancellationToken, Prompt, Uri, String, String) - uid: PnP.Framework.AuthenticationManager.GetAccessTokenAsync(System.String[],Prompt) name: GetAccessTokenAsync(String[], Prompt) href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetAccessTokenAsync_System_String___Prompt_ @@ -11066,12 +11072,12 @@ references: commentId: M:PnP.Framework.AuthenticationManager.GetContext(System.String) fullName: PnP.Framework.AuthenticationManager.GetContext(System.String) nameWithType: AuthenticationManager.GetContext(String) -- uid: PnP.Framework.AuthenticationManager.GetContext(System.String,CancellationToken) - name: GetContext(String, CancellationToken) - href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetContext_System_String_CancellationToken_ - commentId: M:PnP.Framework.AuthenticationManager.GetContext(System.String,CancellationToken) - fullName: PnP.Framework.AuthenticationManager.GetContext(System.String, CancellationToken) - nameWithType: AuthenticationManager.GetContext(String, CancellationToken) +- uid: PnP.Framework.AuthenticationManager.GetContext(System.String,CancellationToken,System.String,System.String) + name: GetContext(String, CancellationToken, String, String) + href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetContext_System_String_CancellationToken_System_String_System_String_ + commentId: M:PnP.Framework.AuthenticationManager.GetContext(System.String,CancellationToken,System.String,System.String) + fullName: PnP.Framework.AuthenticationManager.GetContext(System.String, CancellationToken, System.String, System.String) + nameWithType: AuthenticationManager.GetContext(String, CancellationToken, String, String) - uid: PnP.Framework.AuthenticationManager.GetContext* name: GetContext href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetContext_ @@ -11085,12 +11091,12 @@ references: commentId: M:PnP.Framework.AuthenticationManager.GetContextAsync(System.String) fullName: PnP.Framework.AuthenticationManager.GetContextAsync(System.String) nameWithType: AuthenticationManager.GetContextAsync(String) -- uid: PnP.Framework.AuthenticationManager.GetContextAsync(System.String,CancellationToken) - name: GetContextAsync(String, CancellationToken) - href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetContextAsync_System_String_CancellationToken_ - commentId: M:PnP.Framework.AuthenticationManager.GetContextAsync(System.String,CancellationToken) - fullName: PnP.Framework.AuthenticationManager.GetContextAsync(System.String, CancellationToken) - nameWithType: AuthenticationManager.GetContextAsync(String, CancellationToken) +- uid: PnP.Framework.AuthenticationManager.GetContextAsync(System.String,CancellationToken,System.String,System.String) + name: GetContextAsync(String, CancellationToken, String, String) + href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetContextAsync_System_String_CancellationToken_System_String_System_String_ + commentId: M:PnP.Framework.AuthenticationManager.GetContextAsync(System.String,CancellationToken,System.String,System.String) + fullName: PnP.Framework.AuthenticationManager.GetContextAsync(System.String, CancellationToken, System.String, System.String) + nameWithType: AuthenticationManager.GetContextAsync(String, CancellationToken, String, String) - uid: PnP.Framework.AuthenticationManager.GetContextAsync* name: GetContextAsync href: api/PnP.Framework.AuthenticationManager.html#PnP_Framework_AuthenticationManager_GetContextAsync_