-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support for Client Credentials Grant authentication method #705
Conversation
Pull Request Test Coverage Report for Build 1898345589
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
boxsdk/auth/ccg_auth.py
Outdated
class CCGAuth(ServerAuth): | ||
_GRANT_TYPE = 'client_credentials' | ||
|
||
def _fetch_access_token(self, sub: str, sub_type: str, now_time: Optional[datetime] = None) -> str: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should not shorten the names and have it: subject_id, subject_type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Closes: SDK-1574