Constructeur SessionSecurityToken (IClaimsPrincipal, UniqueId, String, String, TimeSpan, SymmetricSecurityKey)
Espace de noms: Microsoft.IdentityModel.Tokens
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim claimsPrincipal As IClaimsPrincipal Dim contextId As UniqueId Dim context As String Dim endpointId As String Dim lifetime As TimeSpan Dim key As SymmetricSecurityKey Dim instance As New SessionSecurityToken(claimsPrincipal, contextId, context, endpointId, lifetime, key)
Syntaxe
'Déclaration
Public Sub New ( _
claimsPrincipal As IClaimsPrincipal, _
contextId As UniqueId, _
context As String, _
endpointId As String, _
lifetime As TimeSpan, _
key As SymmetricSecurityKey _
)
public SessionSecurityToken (
IClaimsPrincipal claimsPrincipal,
UniqueId contextId,
string context,
string endpointId,
TimeSpan lifetime,
SymmetricSecurityKey key
)
public:
SessionSecurityToken (
IClaimsPrincipal^ claimsPrincipal,
UniqueId^ contextId,
String^ context,
String^ endpointId,
TimeSpan lifetime,
SymmetricSecurityKey^ key
)
public SessionSecurityToken (
IClaimsPrincipal claimsPrincipal,
UniqueId contextId,
String context,
String endpointId,
TimeSpan lifetime,
SymmetricSecurityKey key
)
public function SessionSecurityToken (
claimsPrincipal : IClaimsPrincipal,
contextId : UniqueId,
context : String,
endpointId : String,
lifetime : TimeSpan,
key : SymmetricSecurityKey
)
Paramètres
- claimsPrincipal
- contextId
- context
- endpointId
- lifetime
- key
Plateformes
Plateformes de développement
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
Voir aussi
Référence
Classe SessionSecurityToken
Membres SessionSecurityToken
Espace de noms Microsoft.IdentityModel.Tokens