from flask_login import UserMixin


class GoogleUser(UserMixin):

    def __init__(self, googleId, name, email, picture):
        self.id = googleId
        self.name = name
        self.email = email
        self.picture = picture

    def as_payload(jsonData):
        return GoogleUser(jsonData['id'], jsonData['name'], jsonData[
            'email'], jsonData['picture'])

    def as_dict(self):
        return self.__dict__

7adac73a4af49039bdb42287c2f2f2bafb483588
<mask token>


class GoogleUser(UserMixin):
    <mask token>

    def as_payload(jsonData):
        return GoogleUser(jsonData['id'], jsonData['name'], jsonData[
            'email'], jsonData['picture'])
    <mask token>

<mask token>


class GoogleUser(UserMixin):
    <mask token>

    def as_payload(jsonData):
        return GoogleUser(jsonData['id'], jsonData['name'], jsonData[
            'email'], jsonData['picture'])

    def as_dict(self):
        return self.__dict__

<mask token>


class GoogleUser(UserMixin):

    def __init__(self, googleId, name, email, picture):
        self.id = googleId
        self.name = name
        self.email = email
        self.picture = picture

    def as_payload(jsonData):
        return GoogleUser(jsonData['id'], jsonData['name'], jsonData[
            'email'], jsonData['picture'])

    def as_dict(self):
        return self.__dict__

from flask_login import UserMixin


class GoogleUser(UserMixin):

    def __init__(self, googleId, name, email, picture):
        self.id = googleId
        self.name = name
        self.email = email
        self.picture = picture

    def as_payload(jsonData):
        return GoogleUser(jsonData['id'], jsonData['name'], jsonData[
            'email'], jsonData['picture'])

    def as_dict(self):
        return self.__dict__
