Méthode SecurityTokenService.Validate
Espace de noms: Microsoft.IdentityModel.SecurityTokenService
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim instance As SecurityTokenService Dim principal As IClaimsPrincipal Dim request As RequestSecurityToken Dim returnValue As RequestSecurityTokenResponse returnValue = instance.Validate(principal, request)
Syntaxe
'Déclaration
Public Overridable Function Validate ( _
principal As IClaimsPrincipal, _
request As RequestSecurityToken _
) As RequestSecurityTokenResponse
public virtual RequestSecurityTokenResponse Validate (
IClaimsPrincipal principal,
RequestSecurityToken request
)
public:
virtual RequestSecurityTokenResponse^ Validate (
IClaimsPrincipal^ principal,
RequestSecurityToken^ request
)
public RequestSecurityTokenResponse Validate (
IClaimsPrincipal principal,
RequestSecurityToken request
)
public function Validate (
principal : IClaimsPrincipal,
request : RequestSecurityToken
) : RequestSecurityTokenResponse
Paramètres
- principal
- request
Cohérence de thread
Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.
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 SecurityTokenService
Membres SecurityTokenService
Espace de noms Microsoft.IdentityModel.SecurityTokenService