Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

protected:
virtual SecurityTokenDescriptor^ CreateSecurityTokenDescriptor(
	RequestSecurityToken^ request,
	Scope^ scope
)

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:
© 2017 Microsoft