Share via


Saml2SecurityTokenHandler.CreateAuthenticationStatement Yöntem

Tanım

Belirtilen kimlik doğrulama bilgilerinden bir SAML 2.0 kimlik doğrulama deyimi oluşturur.

protected:
 virtual System::IdentityModel::Tokens::Saml2AuthenticationStatement ^ CreateAuthenticationStatement(System::Security::Claims::AuthenticationInformation ^ authInfo, System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.Saml2AuthenticationStatement CreateAuthenticationStatement (System.Security.Claims.AuthenticationInformation authInfo, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAuthenticationStatement : System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2AuthenticationStatement
override this.CreateAuthenticationStatement : System.Security.Claims.AuthenticationInformation * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.Saml2AuthenticationStatement
Protected Overridable Function CreateAuthenticationStatement (authInfo As AuthenticationInformation, tokenDescriptor As SecurityTokenDescriptor) As Saml2AuthenticationStatement

Parametreler

authInfo
AuthenticationInformation

Nesne AuthenticationInformation olarak sarmalanacak durumu içeren bir Saml2AuthenticationStatement nesne.

tokenDescriptor
SecurityTokenDescriptor

Belirteç tanımlayıcısı.

Döndürülenler

Oluşturulmakta Saml2AuthenticationStatement olan onaylama işlemine eklemek veya null nesneyi yoksaymak AuthenticationInformation için (saml 2.0 kimlik doğrulama deyimi oluşturmamak için).

Özel durumlar

tokenDescriptor, null değeridir.

-veya-

Subject özelliğinin tokenDescriptor özelliğidirnull.

(özelliğin tokenDescriptorSubject) konusu, veya AuthenticationMethod talep türüne AuthenticationInstant sahip talepleri içerir, ancak her türden en az bir talep içermez.

-veya-

öğesinin tokenDescriptor konusu tarafından belirtilen kimlik doğrulama yöntemi mutlak bir URI'ye çözümlenemez.

Şunlara uygulanır