SecurityTokenHandlerCollection.CreateToken(SecurityTokenDescriptor) Method
Definition
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
Parameters
- 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.
Returns
A security token that matches the properties of the token descriptor.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.