![]() ![]() For more information, see Use an Office 365 SharePoint site to authorize provider-hosted add-ins on an on-premises SharePoint site. This is easily done with Windows PowerShell scripts. The farm must be configured to share the trust relationship that Office 365 has with ACS.The customer does not have to use their account for any other purpose. The customer who is installing the add-in must have an Office 365 account.For more information, see Tools and environments for developing SharePoint Add-ins. This is actually a requirement for installing any SharePoint Add-ins to the farm, even if they don't use the Context Token flow. The farm must be configured to support add-ins.The following requirements only apply if you're installing the SharePoint Add-in on-premises in addition to SharePoint Online these requirements don't apply if you're only installing the SharePoint Add-in to SharePoint Online The following preliminary steps must be completed before a SharePoint Add-in can use the Context Token flow: For more information about token-handling code, see Handle security tokens in provider-hosted low-trust SharePoint Add-ins. NET, the Microsoft Office Developer Tools for Visual Studio provide sample code that does most of the work for you). You provide the token-handling code in the remote component (but if your remote component is hosted on. SharePoint validates that the access token was issued by ACS, so it responds to the requests from. It includes the access token in all its requests to SharePoint. then extracts a refresh token from the context token and uses it to get an access token directly from ACS. validates that the context token was issued by ACS so it trusts it. There are three tokens involved: SharePoint has ACS create a context token that SharePoint forwards to. SharePoint and do not trust each other but both trust ACS and accept tokens issued by ACS. The application uses an OAuth token-passing flow to authenticate with SharePoint. For more information about how to create remote event receivers, see Create a remote event receiver in SharePoint Add-ins.Ĭ uses the SharePoint client object model (CSOM) or the SharePoint REST APIs to make calls to SharePoint. Examples of remote events that might want to respond to are list events, such as adding or removing a list item or web events, such as adding or deleting a site. The remote component can also host event receivers that respond to events that occur to SharePoint items, such as lists or list items. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |