Add Atlassian as a supported provider. (#167)
This commit is contained in:
parent
a094ed7fc0
commit
cf6a2969bf
2 changed files with 8 additions and 0 deletions
|
|
@ -29,6 +29,12 @@ class OAuth2(ToolAuthorization):
|
||||||
"""The scope(s) needed for the authorized action."""
|
"""The scope(s) needed for the authorized action."""
|
||||||
|
|
||||||
|
|
||||||
|
class Atlassian(OAuth2):
|
||||||
|
"""Marks a tool as requiring Atlassian authorization."""
|
||||||
|
|
||||||
|
provider_id: str = "atlassian"
|
||||||
|
|
||||||
|
|
||||||
class Discord(OAuth2):
|
class Discord(OAuth2):
|
||||||
"""Marks a tool as requiring Discord authorization."""
|
"""Marks a tool as requiring Discord authorization."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
from arcade.core.auth import (
|
from arcade.core.auth import (
|
||||||
|
Atlassian,
|
||||||
Discord,
|
Discord,
|
||||||
Dropbox,
|
Dropbox,
|
||||||
GitHub,
|
GitHub,
|
||||||
|
|
@ -13,6 +14,7 @@ from arcade.core.auth import (
|
||||||
)
|
)
|
||||||
|
|
||||||
__all__ = [
|
__all__ = [
|
||||||
|
"Atlassian",
|
||||||
"Discord",
|
"Discord",
|
||||||
"Dropbox",
|
"Dropbox",
|
||||||
"GitHub",
|
"GitHub",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue