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: