Rename get_federated_user to get_and_link_federated_user_info
Better to be explicit wherever possible
This commit is contained in:
parent
1a31d98c44
commit
bd22fb255e
4 changed files with 9 additions and 9 deletions
|
@ -175,11 +175,11 @@ class UserAuthentication(object):
|
|||
"""
|
||||
return self.state.link_user(username_or_email)
|
||||
|
||||
def get_federated_user(self, user_info):
|
||||
def get_and_link_federated_user_info(self, user_info):
|
||||
""" Returns a tuple containing the database user record linked to the given UserInformation
|
||||
pair and any error that occurred when trying to link the user.
|
||||
"""
|
||||
return self.state.get_federated_user(user_info)
|
||||
return self.state.get_and_link_federated_user_info(user_info)
|
||||
|
||||
def confirm_existing_user(self, username, password):
|
||||
""" Verifies that the given password matches to the given DB username. Unlike
|
||||
|
|
Reference in a new issue