When implementing the ITfoxtec.Identity.Saml2 library I was unsure how to find the method definition for ValidateRelyingParty() at https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2/blob/master/test/TestIdPCore/Controllers/AuthController.cs#L35
Any direction would be appreciated.
The sample shows how a SAML 2.0 identity provider (IdP) insures that the calling relying party is trustworthy. The ValidateRelyingParty method is implemented in https://github.com/ITfoxtec/ITfoxtec.Identity.Saml2/blob/master/test/TestIdPCore/Controllers/AuthController.cs#L134
The ValidateRelyingParty method instantiate a list of trusted relying parties and return the calling relying party or fails.
An identity provider (IdP) should validate if a relying party is allowed to login/logout and most important only respond to a trusted relying party url.