Add Atlassian as a supported provider. (#167)

This commit is contained in:
Wils Dawson 2024-11-27 11:44:03 -08:00 committed by GitHub
parent a094ed7fc0
commit cf6a2969bf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 0 deletions

View file

@ -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."""

View file

@ -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",