共用方式為


SecurityTokenService.CreateSecurityTokenDescriptor 方法

定義

建立 SecurityTokenDescriptor 的執行個體。

protected:
 virtual System::IdentityModel::Tokens::SecurityTokenDescriptor ^ CreateSecurityTokenDescriptor(System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, System::IdentityModel::Scope ^ scope);
protected virtual System.IdentityModel.Tokens.SecurityTokenDescriptor CreateSecurityTokenDescriptor (System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, System.IdentityModel.Scope scope);
abstract member CreateSecurityTokenDescriptor : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Scope -> System.IdentityModel.Tokens.SecurityTokenDescriptor
override this.CreateSecurityTokenDescriptor : System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * System.IdentityModel.Scope -> System.IdentityModel.Tokens.SecurityTokenDescriptor
Protected Overridable Function CreateSecurityTokenDescriptor (request As RequestSecurityToken, scope As Scope) As SecurityTokenDescriptor

參數

request
RequestSecurityToken

連入的權杖要求。

傳回

SecurityTokenDescriptor

例外狀況

requestnull

-或-

scopenull

備註

在 權杖發行 GetScope期間叫用 。

適用於