Skip to content

Commit a094ed7

Browse files
authored
Add Dropbox as an auth provider. (#164)
Related to: CU-86b2dtdj2
1 parent 466ea93 commit a094ed7

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

arcade/arcade/core/auth.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ class Discord(OAuth2):
3535
provider_id: str = "discord"
3636

3737

38+
class Dropbox(OAuth2):
39+
"""Marks a tool as requiring Dropbox authorization."""
40+
41+
provider_id: str = "dropbox"
42+
43+
3844
class Google(OAuth2):
3945
"""Marks a tool as requiring Google authorization."""
4046

arcade/arcade/sdk/auth/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
from arcade.core.auth import (
22
Discord,
3+
Dropbox,
34
GitHub,
45
Google,
56
LinkedIn,
@@ -13,6 +14,7 @@
1314

1415
__all__ = [
1516
"Discord",
17+
"Dropbox",
1618
"GitHub",
1719
"Google",
1820
"LinkedIn",

0 commit comments

Comments
 (0)