public GetAzureADAppOnlyAuthenticatedContext ( string siteUrl, string clientId, string tenant, StoreName storeName, StoreLocation storeLocation, string thumbPrint, AzureEnvironment environment = AzureEnvironment.Production ) : ClientContext | ||
siteUrl | string | Site for which the ClientContext object will be instantiated |
clientId | string | The Azure AD Application Client ID |
tenant | string | The Azure AD Tenant, e.g. mycompany.onmicrosoft.com |
storeName | StoreName | The name of the store for the certificate |
storeLocation | StoreLocation | The location of the store for the certificate |
thumbPrint | string | The thumbprint of the certificate to locate in the store |
environment | AzureEnvironment | Indicates which Azure AD environment is being used |
return | ClientContext |