SamlAuthorizationDecisionClaimResource(String, SamlAccessDecision, String, String) Construtor

Definição

Inicializa uma nova instância da classe SamlAuthorizationDecisionClaimResource usando o recurso especificado para o qual a entidade está buscando obter acesso, a decisão de autorização relacionada ao recurso, a ação buscada no recurso e o namespace de XML no qual a ação está definida.Initializes a new instance of the SamlAuthorizationDecisionClaimResource class using the specified resource the subject is seeking access to, the authorization decision regarding the resource, the action sought on the resource, and the XML namespace in which the action is defined.

public:
 SamlAuthorizationDecisionClaimResource(System::String ^ resource, System::IdentityModel::Tokens::SamlAccessDecision accessDecision, System::String ^ actionNamespace, System::String ^ actionName);
public:
 SamlAuthorizationDecisionClaimResource(System::String ^ resource, System::IdentityModel::Tokens::SamlAccessDecision decision, System::String ^ actionName, System::String ^ actionNamespace);
public SamlAuthorizationDecisionClaimResource (string resource, System.IdentityModel.Tokens.SamlAccessDecision accessDecision, string actionNamespace, string actionName);
public SamlAuthorizationDecisionClaimResource (string resource, System.IdentityModel.Tokens.SamlAccessDecision decision, string actionName, string actionNamespace);
new System.IdentityModel.Tokens.SamlAuthorizationDecisionClaimResource : string * System.IdentityModel.Tokens.SamlAccessDecision * string * string -> System.IdentityModel.Tokens.SamlAuthorizationDecisionClaimResource
new System.IdentityModel.Tokens.SamlAuthorizationDecisionClaimResource : string * System.IdentityModel.Tokens.SamlAccessDecision * string * string -> System.IdentityModel.Tokens.SamlAuthorizationDecisionClaimResource
Public Sub New (resource As String, accessDecision As SamlAccessDecision, actionNamespace As String, actionName As String)
Public Sub New (resource As String, decision As SamlAccessDecision, actionName As String, actionNamespace As String)

Parâmetros

resource
String

O recurso ao qual a entidade está buscando obter acesso.The resource the subject is seeking access to.

accessDecisiondecision
SamlAccessDecision

A decisão de autorização renderizada pela autoridade SAML sobre o acesso ao recurso, a entidade.The authorization decision rendered by the SAML authority regarding the access to the resource by the subject.

actionNamespaceactionName
String

O namespace de XML no qual a ação especificada no parâmetro actionName é definida.The XML namespace in which the action specified in the actionName parameter is defined.

actionNameactionNamespace
String

A ação buscada pela entidade no recurso especificado no parâmetro resource.The action sought by the subject on the resource specified in the resource parameter.

Exceções

resource ou actionName é null ou uma cadeia de caracteres vazia.resource or actionName is null or an empty string.

Comentários

A tabela a seguir detalha as propriedades definidas pelos parâmetros passados para esse construtor.The following table details the properties set by the parameters passed to this constructor.

ParâmetroParameter PropriedadeProperty
resource Resource
accessDecision AccessDecision
actionNamespace ActionNamespace
actionName ActionName

Aplica-se a