Saml2SecurityTokenHandler.CreateSamlSubject(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 SAML 2.0 subject for the assertion.
protected:
virtual System::IdentityModel::Tokens::Saml2Subject ^ CreateSamlSubject(System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.Saml2Subject CreateSamlSubject (System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateSamlSubject : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2Subject
override this.CreateSamlSubject : System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2Subject
Protected Overridable Function CreateSamlSubject (tokenDescriptor As SecurityTokenDescriptor) As Saml2Subject
Parameters
- tokenDescriptor
- SecurityTokenDescriptor
The security token descriptor from which to create the subject.
Returns
A Saml2Subject that represents the subject of the assertion.
Exceptions
tokenDescriptor
is null
.
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.