SecurityTokenSpecification 类

定义

表示安全令牌及其授权策略。Represents a security token and its authorization policies.

public ref class SecurityTokenSpecification
public class SecurityTokenSpecification
type SecurityTokenSpecification = class
Public Class SecurityTokenSpecification
继承
SecurityTokenSpecification
派生

注解

此类用于主令牌和传输令牌。This class is used for primary and transport tokens. 它包含安全令牌和相应的授权策略集合。It contains a security token and a corresponding collection of authorization policies.

构造函数

SecurityTokenSpecification(SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>)

使用指定的标记和标记策略初始化 SecurityTokenSpecification 类的新实例。Initializes a new instance of the SecurityTokenSpecification class using the specified token and token policies.

属性

SecurityToken

获取安全令牌。Gets the security token.

SecurityTokenPolicies

获取安全令牌策略的集合。Gets the collection of security token policies.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于