CreateSecurityTokenDescriptor Method

SecurityTokenService.CreateSecurityTokenDescriptor Method (RequestSecurityToken, Scope)

.NET Framework (current version)
 

Creates an instance of a SecurityTokenDescriptor.

Namespace:   System.IdentityModel
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

abstract CreateSecurityTokenDescriptor : 
        request:RequestSecurityToken *
        scope:Scope -> SecurityTokenDescriptor
override CreateSecurityTokenDescriptor : 
        request:RequestSecurityToken *
        scope:Scope -> SecurityTokenDescriptor

Parameters

request
Type: System.IdentityModel.Protocols.WSTrust.RequestSecurityToken

The incoming token request.

scope
Type: System.IdentityModel.Scope

The Scope object returned from GetScope.

Exception Condition
ArgumentNullException

request is null.

-or-

scope is null.

Invoked during token issuance after GetScope.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft