We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45f821f commit 417bf85Copy full SHA for 417bf85
mergin/client.py
@@ -56,16 +56,6 @@ class ServerType(Enum):
56
SAAS = auto() # Server is SaaS
57
58
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
69
def decode_token_data(token):
70
token_prefix = "Bearer ."
71
if not token.startswith(token_prefix):
0 commit comments