Class MetadataComparer
Compares SAML metadata for changes.
Implements
Inherited Members
Namespace: ComponentSpace.Saml2.Metadata.Compare
Assembly: ComponentSpace.Saml2.dll
Syntax
public class MetadataComparer : IMetadataComparer
Methods
CompareMetadata(EntitiesDescriptor, EntitiesDescriptor)
Compares entities descriptors and returns any changes.
Declaration
public virtual IList<MetadataChange> CompareMetadata(EntitiesDescriptor oldEntitiesDescriptor, EntitiesDescriptor newEntitiesDescriptor)
Parameters
Type | Name | Description |
---|---|---|
EntitiesDescriptor | oldEntitiesDescriptor | The old entities descriptor. |
EntitiesDescriptor | newEntitiesDescriptor | The new entities descriptor. |
Returns
Type | Description |
---|---|
IList<MetadataChange> | The list of changes. |
CompareMetadata(EntityDescriptor, EntityDescriptor)
Compares entity descriptors and returns any changes.
Declaration
public virtual IList<MetadataChange> CompareMetadata(EntityDescriptor oldEntityDescriptor, EntityDescriptor newEntityDescriptor)
Parameters
Type | Name | Description |
---|---|---|
EntityDescriptor | oldEntityDescriptor | The old entity descriptor. |
EntityDescriptor | newEntityDescriptor | The new entity descriptor. |
Returns
Type | Description |
---|---|
IList<MetadataChange> | The list of changes. |
CompareMetadata(IdpSsoDescriptor, IdpSsoDescriptor)
Compares IdP SSO descriptors and returns any changes.
Declaration
public virtual IList<MetadataChange> CompareMetadata(IdpSsoDescriptor oldIdpSsoDescriptor, IdpSsoDescriptor newIdpSsoDescriptor)
Parameters
Type | Name | Description |
---|---|---|
IdpSsoDescriptor | oldIdpSsoDescriptor | The old IdP SSO descriptor. |
IdpSsoDescriptor | newIdpSsoDescriptor | The new IdP SSO descriptor. |
Returns
Type | Description |
---|---|
IList<MetadataChange> | The list of changes. |
CompareMetadata(SpSsoDescriptor, SpSsoDescriptor)
Compares SP SSO descriptors and returns any changes.
Declaration
public virtual IList<MetadataChange> CompareMetadata(SpSsoDescriptor oldSpSsoDescriptor, SpSsoDescriptor newSpSsoDescriptor)
Parameters
Type | Name | Description |
---|---|---|
SpSsoDescriptor | oldSpSsoDescriptor | The old SP SSO descriptor. |
SpSsoDescriptor | newSpSsoDescriptor | The new SP SSO descriptor. |
Returns
Type | Description |
---|---|
IList<MetadataChange> | The list of changes. |