Hello, I'm trying to figure out how to validate time conditions for inbound single sign-on to our system, ie. external system users get logged into our site. How do I check these conditions w/ a populated Response object?
var response = new Response(encodedSamlResponse);
// Need to validate NotBefore and NotOnOrAfter - if fails, reject the user
I see documentation for SubjectConfirmationData - IsWithinTimePeriod, how do I get an instance of the subject confirmation from a given response?