SamlSecurityTokenHandler.CreateAuthenticationStatement 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 1.1 authentication statement from the specified authentication information.
protected:
virtual System::IdentityModel::Tokens::SamlAuthenticationStatement ^ CreateAuthenticationStatement(System::IdentityModel::Tokens::SamlSubject ^ samlSubject, System::Security::Claims::AuthenticationInformation ^ authInfo, System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.SamlAuthenticationStatement CreateAuthenticationStatement (System.IdentityModel.Tokens.SamlSubject samlSubject, System.Security.Claims.AuthenticationInformation authInfo, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAuthenticationStatement : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAuthenticationStatement
override this.CreateAuthenticationStatement : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAuthenticationStatement
Protected Overridable Function CreateAuthenticationStatement (samlSubject As SamlSubject, authInfo As AuthenticationInformation, tokenDescriptor As SecurityTokenDescriptor) As SamlAuthenticationStatement
Parameters
- samlSubject
- SamlSubject
The SamlSubject of the statement.
- authInfo
- AuthenticationInformation
The AuthenticationInformation from which to generate the SAML authentication statement.
- tokenDescriptor
- SecurityTokenDescriptor
Contains all the other information that is used in token issuance.
Returns
The SAML authentication statement that was created.
Exceptions
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.