File: discovery.py

package info (click to toggle)
python-authlib 1.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,016 kB
  • sloc: python: 26,998; makefile: 53; sh: 14
file content (9 lines) | stat: -rw-r--r-- 443 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
from authlib.oidc.discovery.models import _validate_boolean_value


class AuthorizationServerMetadata(dict):
    REGISTRY_KEYS = ["require_signed_request_object"]

    def validate_require_signed_request_object(self):
        """Indicates where authorization request needs to be protected as Request Object and provided through either request or request_uri parameter."""
        _validate_boolean_value(self, "require_signed_request_object")