Skip to content

Commit

Permalink
Add Atlassian as a supported provider. (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
wdawson authored Nov 27, 2024
1 parent a094ed7 commit cf6a296
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arcade/arcade/core/auth.py
Original file line number Diff line number Diff line change
@@ -29,6 +29,12 @@ class OAuth2(ToolAuthorization):
"""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):
"""Marks a tool as requiring Discord authorization."""

2 changes: 2 additions & 0 deletions arcade/arcade/sdk/auth/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from arcade.core.auth import (
Atlassian,
Discord,
Dropbox,
GitHub,
@@ -13,6 +14,7 @@
)

__all__ = [
"Atlassian",
"Discord",
"Dropbox",
"GitHub",

0 comments on commit cf6a296

Please sign in to comment.