SPExternalApplicationRequestProperties.RequestTokenPrefix property

Gets the portion of the request token other than the server hash and client hash.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property RequestTokenPrefix As String
    Get
'Usage
Dim instance As SPExternalApplicationRequestProperties
Dim value As String

value = instance.RequestTokenPrefix
public string RequestTokenPrefix { get; }

Property value

Type: System.String
The portion of the request token other than the server hash and client hash.

Remarks

The prefix contains the following, in this order, with semi-colons (;) between the parts:

  • The version of the token. This is always “1”.

  • The GUID of the Web site that contains the page with Web Part that hosts the external application.

  • The ID of the user who navigated to the page containing the Web Part that hosts the external application. (This is the value of the ID property, not the LoginName property.)

  • The GUID of the external application. This comes from the External Application XML.

  • The logon name of the application principal user. This comes from the External Application XML.

  • The date and time that the token was created.

If a custom External Application Provider (EAP) is being used and if the external application requires a client hash, then the EAP uses salt, provided by the external application host, to create a hash of the value of the RequestTokenPrefix property and assign it to the ClientHash property when a SPExternalApplicationRequestResult object is constructed.

See also

Reference

SPExternalApplicationRequestProperties class

SPExternalApplicationRequestProperties members

Microsoft.SharePoint namespace