Add Hubspot OAuth class (#372)
This commit is contained in:
parent
8f1dd30960
commit
ea14b898b4
2 changed files with 11 additions and 0 deletions
|
|
@ -78,6 +78,15 @@ class Google(OAuth2):
|
||||||
super().__init__(id=id, scopes=scopes)
|
super().__init__(id=id, scopes=scopes)
|
||||||
|
|
||||||
|
|
||||||
|
class Hubspot(OAuth2):
|
||||||
|
"""Marks a tool as requiring Hubspot authorization."""
|
||||||
|
|
||||||
|
provider_id: str = "hubspot"
|
||||||
|
|
||||||
|
def __init__(self, *, id: Optional[str] = None, scopes: Optional[list[str]] = None): # noqa: A002
|
||||||
|
super().__init__(id=id, scopes=scopes)
|
||||||
|
|
||||||
|
|
||||||
class LinkedIn(OAuth2):
|
class LinkedIn(OAuth2):
|
||||||
"""Marks a tool as requiring LinkedIn authorization."""
|
"""Marks a tool as requiring LinkedIn authorization."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ from arcade.core.auth import (
|
||||||
Dropbox,
|
Dropbox,
|
||||||
GitHub,
|
GitHub,
|
||||||
Google,
|
Google,
|
||||||
|
Hubspot,
|
||||||
LinkedIn,
|
LinkedIn,
|
||||||
Microsoft,
|
Microsoft,
|
||||||
Notion,
|
Notion,
|
||||||
|
|
@ -23,6 +24,7 @@ __all__ = [
|
||||||
"Dropbox",
|
"Dropbox",
|
||||||
"GitHub",
|
"GitHub",
|
||||||
"Google",
|
"Google",
|
||||||
|
"Hubspot",
|
||||||
"LinkedIn",
|
"LinkedIn",
|
||||||
"Microsoft",
|
"Microsoft",
|
||||||
"Notion",
|
"Notion",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue