Add Asana auth class (#380)
This commit is contained in:
parent
817131c6ce
commit
60c3bbe3fa
2 changed files with 10 additions and 0 deletions
|
|
@ -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."""
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
arcade-code-sandbox
|
||||
arcade-asana
|
||||
arcade-dropbox
|
||||
arcade-github
|
||||
arcade-google
|
||||
|
|
|
|||
Loading…
Reference in a new issue