C# Class ProviderHostedAppPartsWeb.SharePointContextToken

A JsonWebSecurityToken generated by SharePoint to authenticate to a 3rd party application and allow callbacks using a refresh token
Inheritance: JsonWebSecurityToken
Afficher le fichier Open project: CriticalPathTraining/SharePointAddinDemos Class Usage Examples

Méthodes publiques

Méthode Description
Create ( JsonWebSecurityToken contextToken ) : SharePointContextToken
SharePointContextToken ( string issuer, string audience, System.DateTime validFrom, System.DateTime validTo, IEnumerable claims ) : System
SharePointContextToken ( string issuer, string audience, System.DateTime validFrom, System.DateTime validTo, IEnumerable claims, System.IdentityModel.Tokens.SecurityToken issuerToken, JsonWebSecurityToken actorToken ) : System
SharePointContextToken ( string issuer, string audience, System.DateTime validFrom, System.DateTime validTo, IEnumerable claims, System.IdentityModel.Tokens.SigningCredentials signingCredentials ) : System

Private Methods

Méthode Description
GetClaimValue ( JsonWebSecurityToken token, string claimType ) : string

Method Details

Create() public static méthode

public static Create ( JsonWebSecurityToken contextToken ) : SharePointContextToken
contextToken JsonWebSecurityToken
Résultat SharePointContextToken

SharePointContextToken() public méthode

public SharePointContextToken ( string issuer, string audience, System.DateTime validFrom, System.DateTime validTo, IEnumerable claims ) : System
issuer string
audience string
validFrom System.DateTime
validTo System.DateTime
claims IEnumerable
Résultat System

SharePointContextToken() public méthode

public SharePointContextToken ( string issuer, string audience, System.DateTime validFrom, System.DateTime validTo, IEnumerable claims, System.IdentityModel.Tokens.SecurityToken issuerToken, JsonWebSecurityToken actorToken ) : System
issuer string
audience string
validFrom System.DateTime
validTo System.DateTime
claims IEnumerable
issuerToken System.IdentityModel.Tokens.SecurityToken
actorToken JsonWebSecurityToken
Résultat System

SharePointContextToken() public méthode

public SharePointContextToken ( string issuer, string audience, System.DateTime validFrom, System.DateTime validTo, IEnumerable claims, System.IdentityModel.Tokens.SigningCredentials signingCredentials ) : System
issuer string
audience string
validFrom System.DateTime
validTo System.DateTime
claims IEnumerable
signingCredentials System.IdentityModel.Tokens.SigningCredentials
Résultat System