crossbar.bridge.rest.common¶
Attributes¶
Exceptions¶
Invalid Unicode was found. |
Classes¶
Shared components between PublisherResource and CallerResource. |
Functions¶
|
confirm that signature headers from GitHub are present and valid |
|
Compare the two byte-strings 'a' and 'b' using a constant-time |
|
Module Contents¶
- class _CommonResource(options: Dict[str, Any], session: autobahn.twisted.wamp.ApplicationSession)[source]¶
Bases:
twisted.web.resource.ResourceShared components between PublisherResource and CallerResource.
- exception _InvalidUnicode[source]¶
Bases:
BaseExceptionInvalid Unicode was found.
- _confirm_github_signature(request, secret_token, raw_body)[source]¶
confirm that signature headers from GitHub are present and valid