SecurityTokenHandlerCollection.CreateToken(SecurityTokenDescriptor) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a token from the specified token descriptor.
public:
System::IdentityModel::Tokens::SecurityToken ^ CreateToken(System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
public System.IdentityModel.Tokens.SecurityToken CreateToken (System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
member this.CreateToken : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SecurityToken
Public Function CreateToken (tokenDescriptor As SecurityTokenDescriptor) As SecurityToken
- tokenDescriptor
- SecurityTokenDescriptor
The token descriptor from which the token is to be created. Properties of the token descriptor are set before this method is called.
A security token that matches the properties of the token descriptor.
Product | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: