36 references to SamlAccessDecision
System.IdentityModel (36)
System\IdentityModel\Tokens\Saml2AuthorizationDecisionStatement.cs (11)
26
private
SamlAccessDecision
decision;
34
/// <param name="decision">The <see cref="
SamlAccessDecision
"/> in use.</param>
35
public Saml2AuthorizationDecisionStatement(Uri resource,
SamlAccessDecision
decision)
45
/// <param name="decision">The <see cref="
SamlAccessDecision
"/> in use.</param>
47
public Saml2AuthorizationDecisionStatement(Uri resource,
SamlAccessDecision
decision, IEnumerable<Saml2Action> actions)
61
if (decision <
SamlAccessDecision
.Permit || decision >
SamlAccessDecision
.Indeterminate)
88
/// Gets or sets the <see cref="
SamlAccessDecision
"/> rendered by the SAML authority with respect to the
91
public
SamlAccessDecision
Decision
100
if (value <
SamlAccessDecision
.Permit || value >
SamlAccessDecision
.Indeterminate)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (7)
3850
SamlAccessDecision
decision;
3874
else if (StringComparer.Ordinal.Equals(
SamlAccessDecision
.Permit.ToString(), value))
3876
decision =
SamlAccessDecision
.Permit;
3878
else if (StringComparer.Ordinal.Equals(
SamlAccessDecision
.Deny.ToString(), value))
3880
decision =
SamlAccessDecision
.Deny;
3882
else if (StringComparer.Ordinal.Equals(
SamlAccessDecision
.Indeterminate.ToString(), value))
3884
decision =
SamlAccessDecision
.Indeterminate;
System\IdentityModel\Tokens\SamlAssertion.cs (1)
703
knownClaimTypes.Add(typeof(
SamlAccessDecision
));
System\IdentityModel\Tokens\SamlAuthorizationDecisionClaimResource.cs (3)
20
SamlAccessDecision
accessDecision;
37
public SamlAuthorizationDecisionClaimResource(string resource,
SamlAccessDecision
accessDecision, string actionNamespace, string actionName)
58
public
SamlAccessDecision
AccessDecision
System\IdentityModel\Tokens\SamlAuthorizationDecisionStatement.cs (9)
23
SamlAccessDecision
accessDecision;
31
public SamlAuthorizationDecisionStatement(SamlSubject samlSubject, string resource,
SamlAccessDecision
accessDecision, IEnumerable<SamlAction> samlActions)
36
public SamlAuthorizationDecisionStatement(SamlSubject samlSubject, string resource,
SamlAccessDecision
accessDecision, IEnumerable<SamlAction> samlActions, SamlEvidence samlEvidence)
70
public
SamlAccessDecision
AccessDecision
174
if (decisionString.Equals(
SamlAccessDecision
.Deny.ToString(), StringComparison.OrdinalIgnoreCase))
175
this.accessDecision =
SamlAccessDecision
.Deny;
176
else if (decisionString.Equals(
SamlAccessDecision
.Permit.ToString(), StringComparison.OrdinalIgnoreCase))
177
this.accessDecision =
SamlAccessDecision
.Permit;
179
accessDecision =
SamlAccessDecision
.Indeterminate;
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (5)
3163
if (decisionString.Equals(
SamlAccessDecision
.Deny.ToString(), StringComparison.OrdinalIgnoreCase))
3165
authzStatement.AccessDecision =
SamlAccessDecision
.Deny;
3167
else if (decisionString.Equals(
SamlAccessDecision
.Permit.ToString(), StringComparison.OrdinalIgnoreCase))
3169
authzStatement.AccessDecision =
SamlAccessDecision
.Permit;
3173
authzStatement.AccessDecision =
SamlAccessDecision
.Indeterminate;