Méthode SecurityTokenService.GetScope
Gets the Scope for the STS. For more information see Building an STS.
Espace de noms: Microsoft.IdentityModel.SecurityTokenService
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)
Utilisation
Dim principal As IClaimsPrincipal Dim request As RequestSecurityToken Dim returnValue As Scope returnValue = Me.GetScope(principal, request)
Syntaxe
'Déclaration
Protected MustOverride Function GetScope ( _
principal As IClaimsPrincipal, _
request As RequestSecurityToken _
) As Scope
protected abstract Scope GetScope (
IClaimsPrincipal principal,
RequestSecurityToken request
)
protected:
virtual Scope^ GetScope (
IClaimsPrincipal^ principal,
RequestSecurityToken^ request
) abstract
protected abstract Scope GetScope (
IClaimsPrincipal principal,
RequestSecurityToken request
)
protected abstract function GetScope (
principal : IClaimsPrincipal,
request : RequestSecurityToken
) : Scope
Paramètres
- principal
The Microsoft.IdentityModel.Claims.IClaimsPrincipal of the client making the request.
- request
The incoming request.
Valeur de retour
Returns Scope.
Remarques
EncryptingCredentials determines whether or not tokens are encrypted. TokenEncryptionRequired and SymmetricKeyEncryptionRequired also default to true to prevent the STS from issuing insecure tokens.
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