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.
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^
Return Value
Type: System.IdentityModel.Tokens::SecurityTokenDescriptor^| Exception | Condition |
|---|---|
| ArgumentNullException | request is null. -or- scope is null. |
.NET Framework
Available since 4.5
Available since 4.5
Show: