Skip to content

Commit 417bf85

Browse files
committed
remove enum
1 parent 45f821f commit 417bf85

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

mergin/client.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,6 @@ class ServerType(Enum):
5656
SAAS = auto() # Server is SaaS
5757

5858

59-
class LoginType(Enum):
60-
"""Types of login supported by Mergin Maps."""
61-
62-
PASSWORD = "password" # classic login with username and password
63-
SSO = "sso" # login with SSO token
64-
65-
def __str__(self) -> str:
66-
return self.value
67-
68-
6959
def decode_token_data(token):
7060
token_prefix = "Bearer ."
7161
if not token.startswith(token_prefix):

0 commit comments

Comments
 (0)