SecurityTokenService.GetScope メソッド
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 では共有) メンバーは、すべてスレッド セーフです。インスタンス メンバーはすべて、スレッド セーフであることが保証されません。
プラットフォーム
開発プラットフォーム
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
関連項目
参照
SecurityTokenService クラス
SecurityTokenService メンバー
Microsoft.IdentityModel.SecurityTokenService 名前空間