SecurityTokenService.CreateSecurityTokenDescriptor Method (RequestSecurityToken, Scope)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: