l.s.w.authentication : module documentation

Part of lp.services.webapp

No module docstring
Class PlacelessAuthUtility An authentication service which holds no state aside from its
Class LaunchpadLoginSource A login source that uses the launchpad SQL database to look up
Class LaunchpadPrincipal Undocumented
Function get_oauth_authorization Retrieve OAuth authorization information from a request.
Function check_oauth_signature Check that the given OAuth request is correctly signed.
def get_oauth_authorization(request):
Retrieve OAuth authorization information from a request.

The authorization information may be in the Authorization header, or it might be in the query string or entity-body.

Returnsa dictionary of authorization information.
RaisesUnicodeDecodeErrorIf the Authorization header is not valid UTF-8.
def check_oauth_signature(request, consumer, token):
Check that the given OAuth request is correctly signed.

If the signature is incorrect or its method is not supported, set the appropriate status in the request's response and return False.

API Documentation for Launchpad, generated by pydoctor at 2018-08-21 00:00:07.