SamlSecurityTokenHandler.CreateAttributeStatement 메서드

정의

토큰 설명자에서 SamlAttributeStatement 개체를 만듭니다.

protected:
 virtual System::IdentityModel::Tokens::SamlAttributeStatement ^ CreateAttributeStatement(System::IdentityModel::Tokens::SamlSubject ^ samlSubject, System::Security::Claims::ClaimsIdentity ^ subject, System::IdentityModel::Tokens::SecurityTokenDescriptor ^ tokenDescriptor);
protected virtual System.IdentityModel.Tokens.SamlAttributeStatement CreateAttributeStatement (System.IdentityModel.Tokens.SamlSubject samlSubject, System.Security.Claims.ClaimsIdentity subject, System.IdentityModel.Tokens.SecurityTokenDescriptor tokenDescriptor);
abstract member CreateAttributeStatement : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.ClaimsIdentity * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAttributeStatement
override this.CreateAttributeStatement : System.IdentityModel.Tokens.SamlSubject * System.Security.Claims.ClaimsIdentity * System.IdentityModel.Tokens.SecurityTokenDescriptor -> System.IdentityModel.Tokens.SamlAttributeStatement
Protected Overridable Function CreateAttributeStatement (samlSubject As SamlSubject, subject As ClaimsIdentity, tokenDescriptor As SecurityTokenDescriptor) As SamlAttributeStatement

매개 변수

samlSubject
SamlSubject

만들어진 SamlSubject에서 사용할 SamlAttributeStatement입니다.

subject
ClaimsIdentity

SAML 특성으로 변환될 클레임이 포함된 ClaimsIdentity 개체입니다.

tokenDescriptor
SecurityTokenDescriptor

토큰 설명자입니다.

반환

변환된 클레임을 포함하는 SamlAttributeStatement입니다.

설명

이 메서드가 반환할 수 있습니다 null 토큰 설명자에 모든 주체 없는 경우 주체 클레임에는 없습니다.

적용 대상