Class | GitAPI | See IGitAPI . |
Function | _get_requester_id | Get the requester ID from authentication parameters. |
Function | _can_internal_issuer_write | Does this internal-only issuer have write access? |
The pack frontend layer authenticates using either the authserver (SSH)
or GitAPI.authenticateWithPassword
(HTTP), and then sends a
corresponding dictionary of authentication parameters to other methods.
For a real user, it sends a "uid" item with the person's ID; for
internal services, it sends "user": "+launchpad-services"; for anonymous
requests, it sends neither.