Prepare google calendar integration for Application Credentials (#71748)
* Prepare google calendar integration for Application Credentials Update google calendar integration to have fewer dependencies on yaml configuration data to prepare for supporting application credentials, which means setup can happen without configuration.yaml at all. This pre-factoring will allow the following PR adding application credentials support to be more focused. * Add test coverage for device auth checks
This commit is contained in:
parent
7ab4960b1e
commit
32e4046435
5 changed files with 103 additions and 25 deletions
|
@ -28,3 +28,6 @@ class FeatureAccess(Enum):
|
|||
def scope(self) -> str:
|
||||
"""Google calendar scope for the feature."""
|
||||
return self._scope
|
||||
|
||||
|
||||
DEFAULT_FEATURE_ACCESS = FeatureAccess.read_write
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue