SamlAuthenticationClaimResource 构造函数

定义

初始化 SamlAuthenticationClaimResource 类的新实例。

重载

SamlAuthenticationClaimResource(DateTime, String, String, String)

使用指定的时刻、身份验证方法、DNS 域名以及 IP 地址初始化 SamlAuthenticationClaimResource 类的新实例。

SamlAuthenticationClaimResource(DateTime, String, String, String, IEnumerable<SamlAuthorityBinding>)

使用指定的时刻、身份验证方法、DNS 域名、IP 地址以及对附加信息的引用来初始化 SamlAuthenticationClaimResource 类的新实例。

SamlAuthenticationClaimResource(DateTime, String, String, String, ReadOnlyCollection<SamlAuthorityBinding>)

使用指定的时刻、身份验证方法、DNS 域名、IP 地址以及对附加信息的引用来初始化 SamlAuthenticationClaimResource 类的新实例。

SamlAuthenticationClaimResource(DateTime, String, String, String)

使用指定的时刻、身份验证方法、DNS 域名以及 IP 地址初始化 SamlAuthenticationClaimResource 类的新实例。

public:
 SamlAuthenticationClaimResource(DateTime authenticationInstant, System::String ^ authenticationMethod, System::String ^ dnsAddress, System::String ^ ipAddress);
public SamlAuthenticationClaimResource (DateTime authenticationInstant, string authenticationMethod, string dnsAddress, string ipAddress);
new System.IdentityModel.Tokens.SamlAuthenticationClaimResource : DateTime * string * string * string -> System.IdentityModel.Tokens.SamlAuthenticationClaimResource
Public Sub New (authenticationInstant As DateTime, authenticationMethod As String, dnsAddress As String, ipAddress As String)

参数

authenticationInstant
DateTime

一个 DateTime,它指定对主题进行身份验证的时刻。

authenticationMethod
String

一个 URI 引用,它指定如何对主题进行身份验证。

dnsAddress
String

对主题进行身份验证的计算机所在的 DNS 域名。

ipAddress
String

对主题进行身份验证的计算机的 IP 地址。

注解

身份验证方法集是可扩展的;但是,下表包含 SAML 规范中定义的身份验证方法集。

身份验证方法 URI
密码 urn:oasis:names:tc:SAML:1.0:am:password
Kerberos urn:ietf:rfc:1510
安全远程密码 (SRP) urn:ietf:rfc:2945
硬件令牌 URI:urn:oasis:names:tc:SAML:1.0:am:HardwareToken
基于 SSL/TLS 证书的客户端身份验证 urn:ietf:rfc:2246
PGP 公钥 urn:oasis:names:tc:SAML:1.0:am:PGP
SPKI 公钥 urn:oasis:names:tc:SAML:1.0:am:SPKI
XKMS 公钥 urn:oasis:names:tc:SAML:1.0:am:XKMS
XML 数字签名 urn:ietf:rfc:3075
未指定 urn:oasis:names:tc:SAML:1.0:am:unspecified

适用于

SamlAuthenticationClaimResource(DateTime, String, String, String, IEnumerable<SamlAuthorityBinding>)

使用指定的时刻、身份验证方法、DNS 域名、IP 地址以及对附加信息的引用来初始化 SamlAuthenticationClaimResource 类的新实例。

public:
 SamlAuthenticationClaimResource(DateTime authenticationInstant, System::String ^ authenticationMethod, System::String ^ dnsAddress, System::String ^ ipAddress, System::Collections::Generic::IEnumerable<System::IdentityModel::Tokens::SamlAuthorityBinding ^> ^ authorityBindings);
public SamlAuthenticationClaimResource (DateTime authenticationInstant, string authenticationMethod, string dnsAddress, string ipAddress, System.Collections.Generic.IEnumerable<System.IdentityModel.Tokens.SamlAuthorityBinding> authorityBindings);
new System.IdentityModel.Tokens.SamlAuthenticationClaimResource : DateTime * string * string * string * seq<System.IdentityModel.Tokens.SamlAuthorityBinding> -> System.IdentityModel.Tokens.SamlAuthenticationClaimResource
Public Sub New (authenticationInstant As DateTime, authenticationMethod As String, dnsAddress As String, ipAddress As String, authorityBindings As IEnumerable(Of SamlAuthorityBinding))

参数

authenticationInstant
DateTime

一个 DateTime,它指定对主题进行身份验证的时刻。

authenticationMethod
String

一个 URI 引用,它指定如何对主题进行身份验证。

dnsAddress
String

对主题进行身份验证的计算机所在的 DNS 域名。

ipAddress
String

对主题进行身份验证的计算机的 IP 地址。

authorityBindings
IEnumerable<SamlAuthorityBinding>

一个类型为 IEnumerable<T>SamlAuthorityBinding,它包含关于主题的附加信息。

例外

authorityBindings 包含一个为 null 的成员。

注解

身份验证方法集是可扩展的;但是,下表包含 SAML 规范中定义的身份验证方法集。

身份验证方法 URI
密码 urn:oasis:names:tc:SAML:1.0:am:password
Kerberos urn:ietf:rfc:1510
安全远程密码 (SRP) urn:ietf:rfc:2945
硬件令牌 URI:urn:oasis:names:tc:SAML:1.0:am:HardwareToken
基于 SSL/TLS 证书的客户端身份验证 urn:ietf:rfc:2246
PGP 公钥 urn:oasis:names:tc:SAML:1.0:am:PGP
SPKI 公钥 urn:oasis:names:tc:SAML:1.0:am:SPKI
XKMS 公钥 urn:oasis:names:tc:SAML:1.0:am:XKMS
XML 数字签名 urn:ietf:rfc:3075
未指定 urn:oasis:names:tc:SAML:1.0:am:unspecified

适用于

SamlAuthenticationClaimResource(DateTime, String, String, String, ReadOnlyCollection<SamlAuthorityBinding>)

使用指定的时刻、身份验证方法、DNS 域名、IP 地址以及对附加信息的引用来初始化 SamlAuthenticationClaimResource 类的新实例。

public:
 SamlAuthenticationClaimResource(DateTime authenticationInstant, System::String ^ authenticationMethod, System::String ^ dnsAddress, System::String ^ ipAddress, System::Collections::ObjectModel::ReadOnlyCollection<System::IdentityModel::Tokens::SamlAuthorityBinding ^> ^ authorityBindings);
public SamlAuthenticationClaimResource (DateTime authenticationInstant, string authenticationMethod, string dnsAddress, string ipAddress, System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SamlAuthorityBinding> authorityBindings);
new System.IdentityModel.Tokens.SamlAuthenticationClaimResource : DateTime * string * string * string * System.Collections.ObjectModel.ReadOnlyCollection<System.IdentityModel.Tokens.SamlAuthorityBinding> -> System.IdentityModel.Tokens.SamlAuthenticationClaimResource
Public Sub New (authenticationInstant As DateTime, authenticationMethod As String, dnsAddress As String, ipAddress As String, authorityBindings As ReadOnlyCollection(Of SamlAuthorityBinding))

参数

authenticationInstant
DateTime

一个 DateTime,它指定对主题进行身份验证的时刻。

authenticationMethod
String

一个 URI 引用,它指定如何对主题进行身份验证。

dnsAddress
String

对主题进行身份验证的计算机所在的 DNS 域名。

ipAddress
String

对主题进行身份验证的计算机的 IP 地址。

authorityBindings
ReadOnlyCollection<SamlAuthorityBinding>

一个类型为 ReadOnlyCollection<T>SamlAuthorityBinding,它包含关于主题的附加信息。

例外

authorityBindings 包含一个为 null 的成员。

注解

身份验证方法集是可扩展的;但是,下表包含 SAML 规范中定义的身份验证方法集。

身份验证方法 URI
密码 urn:oasis:names:tc:SAML:1.0:am:password
Kerberos urn:ietf:rfc:1510
安全远程密码 (SRP) urn:ietf:rfc:2945
硬件令牌 URI:urn:oasis:names:tc:SAML:1.0:am:HardwareToken
基于 SSL/TLS 证书的客户端身份验证 urn:ietf:rfc:2246
PGP 公钥 urn:oasis:names:tc:SAML:1.0:am:PGP
SPKI 公钥 urn:oasis:names:tc:SAML:1.0:am:SPKI
XKMS 公钥 urn:oasis:names:tc:SAML:1.0:am:XKMS
XML 数字签名 urn:ietf:rfc:3075
未指定 urn:oasis:names:tc:SAML:1.0:am:unspecified

适用于