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

SharePointContextToken Class

SharePoint Dev Documents|Last Updated: 6/22/2017
|
1 Contributor

A JsonWebSecurityToken generated by SharePoint to authenticate to a 3rd party application and allow callbacks using a refresh token

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

Inheritance Hierarchy

System.Object
 SharePointPnP.IdentityModel.Extensions.S2S.Tokens.JsonWebSecurityToken

Syntax

public class SharePointContextToken: JsonWebSecurityToken

Constructors

NameDescription
SharePointContextToken(String, String, DateTime, DateTime, IEnumerable)Constructor for SharePointContextToken class
SharePointContextToken(String, String, DateTime, DateTime, IEnumerable, SecurityToken, JsonWebSecurityToken)Constructor for SharePointContextToken class
SharePointContextToken(String, String, DateTime, DateTime, IEnumerable, SigningCredentials)Constructor for SharePointContextToken class

Properties

NameDescription
CacheKeyThe context token's "CacheKey" claim
NameIdThe context token's "nameid" claim
RealmThe realm portion of the context token's "audience" claim
RefreshTokenThe context token's "refreshtoken" claim
SecurityTokenServiceUriThe context token's "SecurityTokenServiceUri" claim
TargetPrincipalNameThe principal name portion of the context token's "appctxsender" claim

Methods

NameDescription
Create(JsonWebSecurityToken)Creates SharePoint ContextToken

See also

© 2018 Microsoft