(scope)
| 36 | |
| 37 | |
| 38 | def _validate_scope(scope): |
| 39 | if scope not in ALLOWED_SCOPES: |
| 40 | msg = "Scope %s is not in allowed scopes list: %s." % (scope, ALLOWED_SCOPES) |
| 41 | raise ValueError(msg) |
| 42 | |
| 43 | |
| 44 | def _validate_decrypt_query_parameter(decrypt, scope, is_admin, user_db): |