Поделиться через


Метод 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

Параметры

  • 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.

Безопасность потоков

Любые открытые статические члены (Shared в Visual Basic) этого типа являются поточно-ориентированными.Любые члены экземпляров не являются гарантированно поточно-ориентированными.

Платформы

Платформа разработки

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

См. также

Справочник

Класс SecurityTokenService
SecurityTokenService Члены
Пространство имен Microsoft.IdentityModel.SecurityTokenService