beacon_api.utils.validateΒΆ
JSON Request/Response Validation and Token authentication.
Functions
extend_with_default (validator_class) |
Include default values present in JSON Schema. |
parse_request_object (request) |
Parse as JSON Object depending on the request method. |
token_auth () |
Check if token is valid and authenticate. |
token_scheme_check (token, scheme, obj, host) |
Check if token has proper scheme and was provided. |
validate (schema) |
Validate against JSON schema an return something. |
verify_aud_claim () |
Verify audience claim. |