Share via


SPSessionSecurityTokenRequestData.GetToken method

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

Syntax

'Declaration
Public Function GetToken ( _
    kind As SPSessionSecurityTokenRequestDataKind _
) As SecurityToken
'Usage
Dim instance As SPSessionSecurityTokenRequestData
Dim kind As SPSessionSecurityTokenRequestDataKind
Dim returnValue As SecurityToken

returnValue = instance.GetToken(kind)
public SecurityToken GetToken(
    SPSessionSecurityTokenRequestDataKind kind
)

Parameters

Return value

Type: System.IdentityModel.Tokens.SecurityToken

See also

Reference

SPSessionSecurityTokenRequestData class

SPSessionSecurityTokenRequestData members

Microsoft.SharePoint.IdentityModel namespace