Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateSecurityTokenDescriptor Method

SecurityTokenService.CreateSecurityTokenDescriptor Method

.NET Framework 4.6 and 4.5

Creates an instance of a SecurityTokenDescriptor.

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

'Declaration
Protected Overridable Function CreateSecurityTokenDescriptor ( _
	request As RequestSecurityToken, _
	scope As Scope _
) As SecurityTokenDescriptor

Parameters

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

The incoming token request.

scope
Type: System.IdentityModel.Scope

The Scope object returned from GetScope.

ExceptionCondition
ArgumentNullException

request is Nothing.

-or-

scope is Nothing.

Invoked during token issuance after GetScope.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft