C# Class Southworks.IdentityModel.ClaimsPolicyEngine.XmlPolicyStore

Inheritance: IPolicyStore
Mostrar archivo Open project: southworks/protocol-bridge-claims-provider

Public Methods

Method Description
AddIssuer ( Uri scopeUri, Issuer issuer ) : void
AddPolicyRule ( Uri scopeUri, PolicyRule rule ) : void
RemoveIssuer ( Uri scopeUri, Issuer issuer ) : void
RemovePolicyRule ( Uri scopeUri, PolicyRule rule ) : void
RetrieveIssuer ( Uri scopeUri, string issuerName ) : Issuer
RetrieveScope ( Uri scopeUri ) : PolicyScope
RetrieveScopes ( ) : IEnumerable
XmlPolicyStore ( ) : System
XmlPolicyStore ( string storeName, IXmlRepository repository ) : System

Protected Methods

Method Description
SaveScopes ( IList policyScopes ) : void

Private Methods

Method Description
RetrieveInputClaims ( System.Xml.Linq.XElement ruleElement, Issuer>.IDictionary issuers, string>.IDictionary claimTypes ) : IEnumerable
RetrieveOutputClaim ( System.Xml.Linq.XElement ruleElement, string>.IDictionary claimTypes ) : OutputPolicyClaim
RetrieveReferences ( System.Xml.Linq.XElement parentElement, string descendantsName, string keyAttribute, string valueAttribute ) : string>.IDictionary
RetrieveRuleAssertionsMatch ( System.Xml.Linq.XElement ruleElement ) : AssertionsMatch
RetrieveScope ( System.Xml.Linq.XElement scopeElement ) : PolicyScope
SerializaClaimType ( ClaimType claimType ) : System.Xml.Linq.XElement
SerializaIssuer ( Issuer issuer ) : System.Xml.Linq.XElement
SerializaRule ( PolicyRule rule ) : System.Xml.Linq.XElement
SerializeInputClaim ( InputPolicyClaim claim ) : System.Xml.Linq.XElement
SerializeOutputClaim ( OutputPolicyClaim outputPolicyClaim ) : System.Xml.Linq.XElement
SerializeScope ( PolicyScope scope ) : System.Xml.Linq.XElement

Method Details

AddIssuer() public method

public AddIssuer ( Uri scopeUri, Issuer issuer ) : void
scopeUri System.Uri
issuer Southworks.IdentityModel.ClaimsPolicyEngine.Model.Issuer
return void

AddPolicyRule() public method

public AddPolicyRule ( Uri scopeUri, PolicyRule rule ) : void
scopeUri System.Uri
rule Southworks.IdentityModel.ClaimsPolicyEngine.Model.PolicyRule
return void

RemoveIssuer() public method

public RemoveIssuer ( Uri scopeUri, Issuer issuer ) : void
scopeUri System.Uri
issuer Southworks.IdentityModel.ClaimsPolicyEngine.Model.Issuer
return void

RemovePolicyRule() public method

public RemovePolicyRule ( Uri scopeUri, PolicyRule rule ) : void
scopeUri System.Uri
rule Southworks.IdentityModel.ClaimsPolicyEngine.Model.PolicyRule
return void

RetrieveIssuer() public method

public RetrieveIssuer ( Uri scopeUri, string issuerName ) : Issuer
scopeUri System.Uri
issuerName string
return Southworks.IdentityModel.ClaimsPolicyEngine.Model.Issuer

RetrieveScope() public method

public RetrieveScope ( Uri scopeUri ) : PolicyScope
scopeUri System.Uri
return PolicyScope

RetrieveScopes() public method

public RetrieveScopes ( ) : IEnumerable
return IEnumerable

SaveScopes() protected method

protected SaveScopes ( IList policyScopes ) : void
policyScopes IList
return void

XmlPolicyStore() public method

public XmlPolicyStore ( ) : System
return System

XmlPolicyStore() public method

public XmlPolicyStore ( string storeName, IXmlRepository repository ) : System
storeName string
repository IXmlRepository
return System