Gets the Scope for the STS. For more information see Building an STS.
命名空间: Microsoft.IdentityModel.SecurityTokenService
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)
用法
Dim principal As IClaimsPrincipal Dim request As RequestSecurityToken Dim returnValue As Scope returnValue = Me.GetScope(principal, request)
语法
声明
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
参数
- principal
The Microsoft.IdentityModel.Claims.IClaimsPrincipal of the client making the request.
- request
The incoming request.
返回值
Returns Scope.
备注
EncryptingCredentials determines whether or not tokens are encrypted. TokenEncryptionRequired and SymmetricKeyEncryptionRequired also default to true to prevent the STS from issuing insecure tokens.
线程安全
此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。
平台
开发平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
请参见
参考
SecurityTokenService 类
SecurityTokenService 成员
Microsoft.IdentityModel.SecurityTokenService 命名空间