'Get the current user identified by OAuth access token
Separate from API token because OAuth access tokens
can only be used for identifying users,
not using the API.'

def get_current_user_oauth_token(self):

    token = self.get_auth_token()
    if (token is None):
        return None
    orm_token = orm.OAuthAccessToken.find(self.db, token)
    if (orm_token is None):
        return None
    else:
        return self._user_from_orm(orm_token.user)
