@bugroger/lokka 0.3.9 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/auth.js +16 -10
- package/package.json +1 -1
package/build/auth.js
CHANGED
|
@@ -101,20 +101,26 @@ const AUTHORIZE_ENDPOINT = "https://login.microsoftonline.com/common/oauth2/v2.0
|
|
|
101
101
|
const REFRESH_BUFFER_SECONDS = 300; // refresh 5 minutes before expiry
|
|
102
102
|
// Default scopes for interactive auth — offline_access is required for refresh tokens
|
|
103
103
|
const DEFAULT_INTERACTIVE_SCOPES = [
|
|
104
|
-
"
|
|
104
|
+
"Calendars.Read",
|
|
105
|
+
"Calendars.Read.Shared",
|
|
106
|
+
"Calendars.ReadWrite",
|
|
107
|
+
"Calendars.ReadWrite.Shared",
|
|
108
|
+
"Chat.Read",
|
|
109
|
+
"Chat.ReadWrite",
|
|
110
|
+
"Contacts.Read",
|
|
111
|
+
"Contacts.Read.Shared",
|
|
112
|
+
"Contacts.ReadWrite",
|
|
113
|
+
"Contacts.ReadWrite.Shared",
|
|
114
|
+
"Files.Read",
|
|
115
|
+
"Files.ReadWrite",
|
|
105
116
|
"Mail.Read",
|
|
117
|
+
"Mail.Read.Shared",
|
|
106
118
|
"Mail.ReadWrite",
|
|
119
|
+
"Mail.ReadWrite.Shared",
|
|
107
120
|
"Mail.Send",
|
|
108
|
-
"
|
|
109
|
-
"Calendars.ReadWrite",
|
|
121
|
+
"Mail.Send.Shared",
|
|
110
122
|
"Tasks.Read",
|
|
111
|
-
"
|
|
112
|
-
"Contacts.Read",
|
|
113
|
-
"offline_access",
|
|
114
|
-
"OnlineMeetingArtifact.Read.All",
|
|
115
|
-
"OnlineMeetingTranscript.Read.All",
|
|
116
|
-
"OnlineMeetings.Read",
|
|
117
|
-
"OnlineMeetings.ReadWrite"
|
|
123
|
+
"User.Read"
|
|
118
124
|
];
|
|
119
125
|
/**
|
|
120
126
|
* TokenCredential that persists tokens to disk and refreshes via HTTP.
|