SamlAuthenticationClaimResource 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示从 SamlAuthenticationStatement 创建的声明的资源类型。
public ref class SamlAuthenticationClaimResource
[System.Runtime.Serialization.DataContract]
public class SamlAuthenticationClaimResource
[<System.Runtime.Serialization.DataContract>]
type SamlAuthenticationClaimResource = class
Public Class SamlAuthenticationClaimResource
- 继承
-
SamlAuthenticationClaimResource
- 属性
注解
使用 SamlAuthenticationClaimResource 类创建 Claim 身份验证声明的 SamlSecurityToken 实例。 Claim 类具有一个构造函数,它采用可以将该类传递到的资源作为参数。
SamlSecurityToken 安全令牌使用 SAML 断言指定其声明,这些断言可指定何时对主题进行身份验证。 SAML 断言中的声明由 SAML 语句表示。 SAML 规范定义了一组 SAML 语句类型,其中一个类型为 SamlAuthenticationStatement。 SamlAuthenticationStatement 断言语句的主题在特定时间、以特定方式进行身份验证。 SamlAuthenticationClaimResource 类表示 SamlAuthenticationStatement 的声明资源。
构造函数
| 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 类的新实例。 |
属性
| AuthenticationInstant |
获取对主题进行身份验证的时刻。 |
| AuthenticationMethod |
获取或设置用于对主题进行身份验证的方法。 |
| AuthorityBindings |
获取关于主题的附加信息。 |
| DnsAddress |
获取对主题进行身份验证的计算机所在的 DNS 域名。 |
| IPAddress |
获取或设置对主题进行身份验证的计算机的 IP 地址。 |
方法
| Equals(Object) |
返回一个值,该值指示该实例是否与指定的对象相等。 |
| GetHashCode() |
返回 SamlAuthenticationClaimResource 的哈希代码。 |
| GetType() |
获取当前实例的 Type。 (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。 (继承自 Object) |
| ToString() |
返回表示当前对象的字符串。 (继承自 Object) |