This method returns a dict that may contain the following names (may also contain others):
dkuGetAuthInfoFromBrowserHeaders(headers_dict, with_secrets = FALSE)
headers_dict: | named list of HTTP headers |
---|---|
with_secrets: | A boolean, Return user secrets |
a dict
- authIdentifier: login for a user, id for an API key - groups: list of group names (if context is an user) - secrets: list of dicts containing user secrets (if context is an user)