You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new function verifier() that uses the key to get the EligibilityVerifier instance corresponding to the saved value from the session; see agency() and eligibility() as examples
Update the update() function to accept a new kwarg verifier=None; if not None and it is a valid EligibilityVerifier instance, store the id in the request's session using the key
Update the reset() function to also clear the verifier
Update the context_dict() function to add the new key/value - this shows up in the debug bar
Store the agency's first verifier in session (for now) when an agency is configured
Retrieve the verifier from session to give to the API client
The text was updated successfully, but these errors were encountered:
Background
As part of #317 the application will need maintain the user's selected
EligibilityVerifier
.We can do this using the existing
session
framework which keeps everything local to the user in secure cookies.Tasks
_VERIFIER = "verifier"
for use elsewhereverifier()
that uses the key to get theEligibilityVerifier
instance corresponding to the saved value from the session; seeagency()
andeligibility()
as examplesupdate()
function to accept a new kwargverifier=None
; if not None and it is a validEligibilityVerifier
instance, store theid
in the request's session using the keyreset()
function to also clear the verifiercontext_dict()
function to add the new key/value - this shows up in the debug barThe text was updated successfully, but these errors were encountered: