Saml2SecurityTokenHandler.SetDelegateFromAttribute 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
특수 형식 Saml2Attribute 이 검색되면 이 메서드가 호출됩니다. Saml2Attribute 전달된 특성 값의 컬렉션을 포함 하는 래핑 Saml2Attribute (속성에Values), 각각 클레임에 매핑 됩니다. 모든 클레임은 지정된 발급자를 사용하여 ClaimsIdentity 반환됩니다.
protected:
virtual void SetDelegateFromAttribute(System::IdentityModel::Tokens::Saml2Attribute ^ attribute, System::Security::Claims::ClaimsIdentity ^ subject, System::String ^ issuer);
protected virtual void SetDelegateFromAttribute(System.IdentityModel.Tokens.Saml2Attribute attribute, System.Security.Claims.ClaimsIdentity subject, string issuer);
abstract member SetDelegateFromAttribute : System.IdentityModel.Tokens.Saml2Attribute * System.Security.Claims.ClaimsIdentity * string -> unit
override this.SetDelegateFromAttribute : System.IdentityModel.Tokens.Saml2Attribute * System.Security.Claims.ClaimsIdentity * string -> unit
Protected Overridable Sub SetDelegateFromAttribute (attribute As Saml2Attribute, subject As ClaimsIdentity, issuer As String)
매개 변수
- attribute
- Saml2Attribute
Saml2Attribute 사용할 수 있습니다.
- subject
- ClaimsIdentity
이 ClaimsIdentity 토큰의 주체입니다.
- issuer
- String
클레임의 발급자입니다.
예외
유효한 Saml2Attribute 특성 값이 없습니다.