Fix some minor issues with OAuth2

This commit is contained in:
Jan Oberhauser
2020-05-31 19:24:14 +02:00
parent e51f4561d3
commit a6add045bd
6 changed files with 12 additions and 12 deletions

View File

@@ -8,12 +8,12 @@ const scopes = [
'https://www.googleapis.com/auth/calendar.events',
];
export class GoogleOAuth2Api implements ICredentialType {
name = 'googleOAuth2Api';
export class GoogleCalendarOAuth2Api implements ICredentialType {
name = 'googleCalendarOAuth2Api';
extends = [
'oAuth2Api',
'googleOAuth2Api',
];
displayName = 'Google OAuth2 API';
displayName = 'Google Calendar OAuth2 API';
properties = [
{
displayName: 'Scope',