werkzeug.DebuggedApplication.check_pin_trust

DebuggedApplication.check_pin_trust(environ)[source]

Checks if the request passed the pin test. This returns True if the request is trusted on a pin/cookie basis and returns False if not. Additionally if the cookie’s stored pin hash is wrong it will return None so that appropriate action can be taken.