Module Import alias Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore Dict Assign NameStore ListLoad Assign NameStore ListLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body TryExcept body Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad handlers ExceptHandler type NameLoad body If CompareEq NameLoad Dict Str NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad kwarg body TryExcept body Return Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Dict decorator_list decorator_list
N/A N/A copy N/A __author__ rolandh UserInfo N/A object N/A N/A  Read only interface to a user info store  __init__ N/A N/A self db N/A None N/A N/A N/A self db db N/A filter N/A N/A self userinfo user_info_claims N/A None N/A N/A 
        Return only those claims that are asked for.
        It's a best effort task; if essential claims are not present
        no error is flagged.

        :param userinfo: A dictionary containing the available user info.
        :param user_info_claims: A dictionary specifying the asked for claims
        :return: A dictionary of filtered claims.
         N/A N/A user_info_claims None N/A N/A N/A N/A copy copy userinfo N/A N/A result N/A N/A missing N/A N/A optional N/A N/A N/A key restr N/A N/A user_info_claims items N/A N/A N/A N/A N/A result N/A key N/A userinfo N/A key N/A N/A N/A KeyError N/A N/A N/A restr N/A essential True N/A N/A N/A N/A missing append key N/A N/A N/A N/A optional append key N/A result N/A __call__ N/A N/A self userid client_id user_info_claims N/A None kwargs N/A N/A N/A N/A N/A N/A self filter N/A N/A self db N/A userid user_info_claims N/A N/A N/A KeyError N/A N/A N/A N/A N/A