Add "picture" to the /userinfo endpoint. (#1914)

* Add "picture" to the /userinfo endpoint.

This may be null or a URL.
 add picture for the test authentication method
This commit is contained in:
bmccandless
2020-10-07 12:17:23 -07:00
committed by GitHub
parent eb108feb37
commit cf77a8da9e
5 changed files with 25 additions and 9 deletions
+4
View File
@@ -43,6 +43,10 @@ class AuthTypeBase(ABC):
"""Return the name of the user (string)"""
pass
def get_user_picture(self):
"""Return the location to the user's picture"""
return None
class AuthTypeClientBase(AuthTypeBase):
"""Base type for all authentication types that require the client to login"""