Table of contents
TOC
Collapse the table of content
Expand the table of content

TimerJob.UseAppOnlyAuthentication Method

SharePoint Dev Documents|Last Updated: 5/19/2017
|
1 Contributor

Prepares the timerjob to operate against SharePoint on-premises with app-only credentials. Sets AuthenticationType to AuthenticationType.AppOnly

Namespace:OfficeDevPnP.Core.Framework.TimerJobs
Assembly: OfficeDevPnP.Core.dll

Syntax

public void UseAppOnlyAuthentication(String clientId, String clientSecret)

Parameters

clientId

  Type: System.String
  Client ID of the app

clientSecret

  Type: System.String
  Client Secret of the app

Return Value

Type: void

See also

© 2018 Microsoft