Add Asana auth class (#380)

This commit is contained in:
Renato Byrro 2025-04-29 14:09:21 -03:00 committed by GitHub
parent 817131c6ce
commit 60c3bbe3fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -33,6 +33,15 @@ class OAuth2(ToolAuthorization):
super().__init__(id=id, scopes=scopes, provider_type=AuthProviderType.oauth2)
class Asana(OAuth2):
"""Marks a tool as requiring Asana authorization."""
provider_id: str = "asana"
def __init__(self, *, id: Optional[str] = None, scopes: Optional[list[str]] = None): # noqa: A002
super().__init__(id=id, scopes=scopes)
class Atlassian(OAuth2):
"""Marks a tool as requiring Atlassian authorization."""

View file

@ -1,4 +1,5 @@
arcade-code-sandbox
arcade-asana
arcade-dropbox
arcade-github
arcade-google