Delen via


AppPrincipalCredential.CreateFromSymmetricKey Method

Definition

[Microsoft.SharePoint.Client.Remote]
public static Microsoft.SharePoint.Client.AppPrincipalCredential CreateFromSymmetricKey (Microsoft.SharePoint.Client.ClientRuntimeContext context, string symmetricKey, DateTime notBefore, DateTime notAfter);
static member CreateFromSymmetricKey : Microsoft.SharePoint.Client.ClientRuntimeContext * string * DateTime * DateTime -> Microsoft.SharePoint.Client.AppPrincipalCredential
Public Shared Function CreateFromSymmetricKey (context As ClientRuntimeContext, symmetricKey As String, notBefore As DateTime, notAfter As DateTime) As AppPrincipalCredential

Parameters

symmetricKey
String
notBefore
DateTime
notAfter
DateTime

Returns

Attributes

Applies to