SamlAuthorizationDecisionClaimResource Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 (string resource, System.IdentityModel.Tokens.SamlAccessDecision accessDecision, string actionNamespace, string actionName);
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)
Parameters
- resource
- String
The resource the subject is seeking access to.
- accessDecision
- SamlAccessDecision
The authorization decision rendered by the SAML authority regarding the access to the resource by the subject.
- actionNamespace
- String
The XML namespace in which the action specified in the actionName
parameter is defined.
- actionName
- String
The action sought by the subject on the resource specified in the resource
parameter.
Exceptions
resource
or actionName
is null
or an empty string.
Remarks
The following table details the properties set by the parameters passed to this constructor.
Parameter | Property |
---|---|
resource |
Resource |
accessDecision |
AccessDecision |
actionNamespace |
ActionNamespace |
actionName |
ActionName |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om