Skip to content

Commit

Permalink
feat: implement AuthChangeEvent enum
Browse files Browse the repository at this point in the history
  • Loading branch information
leynier committed Oct 17, 2021
1 parent 930273f commit a6dacaf
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gotrue/lib/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,14 @@ def to_dict(self) -> Dict[str, Any]:
return data


class AuthChangeEvent(str, Enum):
SIGNED_IN = "SIGNED_IN"
SIGNED_OUT = "SIGNED_OUT"
USER_UPDATED = "USER_UPDATED"
USER_DELETED = "USER_DELETED"
PASSWORD_RECOVERY = "PASSWORD_RECOVERY"


class Provider(str, Enum):
azure = "azure"
bitbucket = "bitbucket"
Expand Down

0 comments on commit a6dacaf

Please sign in to comment.