BootstrapContext.SecurityToken 属性

定义

获取用于初始化上下文的安全标记。

public:
 property System::IdentityModel::Tokens::SecurityToken ^ SecurityToken { System::IdentityModel::Tokens::SecurityToken ^ get(); };
public System.IdentityModel.Tokens.SecurityToken SecurityToken { get; }
member this.SecurityToken : System.IdentityModel.Tokens.SecurityToken
Public ReadOnly Property SecurityToken As SecurityToken

属性值

安全令牌或 null

注解

仅当使用构造函数时才 BootstrapContext.BootstrapContext(SecurityToken, SecurityTokenHandler) 设置此属性;否则为 null

适用于