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