SamlSubject 생성자

정의

SamlSubject 클래스의 새 인스턴스를 초기화합니다.

오버로드

SamlSubject()

SamlSubject 클래스의 새 인스턴스를 초기화합니다.

SamlSubject(String, String, String)

지정된 이름, 이름이 있는 도메인 및 이름의 형식을 사용하여 SamlSubject 클래스의 새 인스턴스를 초기화합니다.

SamlSubject(String, String, String, IEnumerable<String>, String, SecurityKeyIdentifier)

지정된 이름, 이름이 있는 도메인, 이름의 형식, 인증 프로토콜, 추가 인증 정보 및 키 식별자를 사용하여 SamlSubject 클래스의 새 인스턴스를 초기화합니다.

SamlSubject()

SamlSubject 클래스의 새 인스턴스를 초기화합니다.

public:
 SamlSubject();
public SamlSubject ();
Public Sub New ()

설명

이 생성자는 IsReadOnly 속성을 false로 초기화합니다.

적용 대상

SamlSubject(String, String, String)

지정된 이름, 이름이 있는 도메인 및 이름의 형식을 사용하여 SamlSubject 클래스의 새 인스턴스를 초기화합니다.

public:
 SamlSubject(System::String ^ nameFormat, System::String ^ nameQualifier, System::String ^ name);
public SamlSubject (string nameFormat, string nameQualifier, string name);
new System.IdentityModel.Tokens.SamlSubject : string * string * string -> System.IdentityModel.Tokens.SamlSubject
Public Sub New (nameFormat As String, nameQualifier As String, name As String)

매개 변수

nameFormat
String

name 매개 변수의 형식을 나타내는 URI 참조입니다. NameFormat 속성을 설정합니다.

nameQualifier
String

name 매개 변수가 있는 도메인입니다. NameQualifier 속성을 설정합니다.

name
String

주체 이름입니다. Name 속성을 설정합니다.

예외

namenull 또는 Empty인 경우

설명

이름을 지정 하는 데 사용 되는 형식은 확장 가능 하지만 다음 표에는 SAML 사양에 정의 된 형식이 나와 있습니다.

서식 설명
EmailNamespace SAML 어설션의 주체가 전자 메일 주소로 지정됨을 나타내는 URI입니다.
UserNameNamespace SAML 어설션의 주체가 Windows 도메인 계정을 사용하여 지정됨을 나타내는 URI입니다.

적용 대상

SamlSubject(String, String, String, IEnumerable<String>, String, SecurityKeyIdentifier)

지정된 이름, 이름이 있는 도메인, 이름의 형식, 인증 프로토콜, 추가 인증 정보 및 키 식별자를 사용하여 SamlSubject 클래스의 새 인스턴스를 초기화합니다.

public:
 SamlSubject(System::String ^ nameFormat, System::String ^ nameQualifier, System::String ^ name, System::Collections::Generic::IEnumerable<System::String ^> ^ confirmations, System::String ^ confirmationData, System::IdentityModel::Tokens::SecurityKeyIdentifier ^ securityKeyIdentifier);
public SamlSubject (string nameFormat, string nameQualifier, string name, System.Collections.Generic.IEnumerable<string> confirmations, string confirmationData, System.IdentityModel.Tokens.SecurityKeyIdentifier securityKeyIdentifier);
new System.IdentityModel.Tokens.SamlSubject : string * string * string * seq<string> * string * System.IdentityModel.Tokens.SecurityKeyIdentifier -> System.IdentityModel.Tokens.SamlSubject
Public Sub New (nameFormat As String, nameQualifier As String, name As String, confirmations As IEnumerable(Of String), confirmationData As String, securityKeyIdentifier As SecurityKeyIdentifier)

매개 변수

nameFormat
String

name 매개 변수의 형식을 나타내는 URI 참조입니다. NameFormat 속성을 설정합니다.

nameQualifier
String

name 매개 변수가 있는 도메인입니다. NameQualifier 속성을 설정합니다.

name
String

주체 이름입니다. Name 속성을 설정합니다.

confirmations
IEnumerable<String>

주체를 인증할 프로토콜을 식별하는 URI 참조가 포함된 IEnumerable<T> 형식의 String입니다. ConfirmationMethods 속성을 설정합니다.

confirmationData
String

인증 프로토콜에서 사용할 수 있는 추가 인증 정보입니다. SubjectConfirmationData 속성을 설정합니다.

securityKeyIdentifier
SecurityKeyIdentifier

SecurityKeyIdentifier 보안 토큰의 주체가 보유한 암호화 키에 액세스할 수 있도록 하는 SamlSecurityToken입니다. KeyIdentifier 속성을 설정합니다.

예외

namenull 또는 Empty인 경우

confirmationsnull 또는 Empty 구성원이 포함된 경우

또는 confirmations에 구성원이 포함되어 있지 않고 namenull 또는 Empty인 경우

또는 confirmations에 구성원이 포함되어 있지 않고 confirmationData 또는 securityKeyIdentifiernull이 아닌 경우

설명

매개 변수의 이름을 지정 하는 데 사용 되는 형식은 name 확장 가능 합니다. 다음 표에는 SAML 사양에 정의 된 형식이 나와 있습니다.

서식 설명
EmailNamespace SAML 어설션의 주체가 전자 메일 주소로 지정됨을 나타내는 URI입니다.
UserNameNamespace SAML 어설션의 주체가 Windows 도메인 계정을 사용하여 지정됨을 나타내는 URI입니다.

매개 변수에 대해 지정할 인증 프로토콜 집합은 confirmations 확장 가능 하지만 다음 표에는 SAML 사양에 정의 된 프로토콜이 나와 있습니다.

프로토콜 Description
HolderOfKey 보안 토큰을 받는 사람이 속성을 사용 하 여 SamlSecurityToken KeyIdentifier SAML 어설션의 주체가 SOAP 메시지를 보냈음을 확인 해야 하도록 지정 하는 URI입니다.
SenderVouches SAML 보안 토큰을 받는 사람이 SAML 어설션의 주체가 SOAP 메시지를 보냈음을 확인하는 데 추가 정보를 사용할 수 없도록 지정하는 URI입니다.

적용 대상