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

AuthenticationManager.RefreshADFSUserNameMixedAuthenticatedContext Method

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

Refreshes the SharePoint FedAuth cookie

Namespace:OfficeDevPnP.Core
Assembly: OfficeDevPnP.Core.dll

Syntax

public void RefreshADFSUserNameMixedAuthenticatedContext(String siteUrl, String user, String password, String domain, String sts, String idpId, Int32 logonTokenCacheExpirationWindow = 10)

Parameters

siteUrl

  Type: System.String
  Url of the SharePoint site that's secured via ADFS

user

  Type: System.String
  Name of the user (e.g. administrator)

password

  Type: System.String
  Password of the user

domain

  Type: System.String
  Windows domain of the user

sts

  Type: System.String
  Hostname of the ADFS server (e.g. sts.company.com)

idpId

  Type: System.String
  Identifier of the ADFS relying party that we're hitting

(optional) logonTokenCacheExpirationWindow

  Type: System.Int32
  Optioanlly provide the value of the SharePoint STS logonTokenCacheExpirationWindow. Defaults to 10 minutes.

Return Value

Type: void

See also

© 2018 Microsoft