added NAS configuration file; updated MediaViewer to support thumbnail carousel; improved error handling in NASAPI and NASAUTH; refactored various comments for clarity

This commit is contained in:
bobbert committed 2026-02-22 19:19:55 +00:00
1 parent 9519b32d68
commit f8e11fc368
27 files changed
+1036 -558

No files matched your search

+6 -24
View File
@@ -1,7 +1,4 @@
/**
* Abstract base class for authentication services
* This provides a common interface for different authentication providers
*/
// Abstract base class for authentication services — provides a common interface for all providers
export class AuthServiceBase {
constructor() {
if (new.target === AuthServiceBase) {
@@ -9,26 +6,11 @@ export class AuthServiceBase {
}
}
async authenticate() {
throw new Error('authenticate() must be implemented');
}
async getAccessToken() {
throw new Error('getAccessToken() must be implemented');
}
async refreshToken() {
throw new Error('refreshToken() must be implemented');
}
async revokeAccess() {
throw new Error('revokeAccess() must be implemented');
}
async getUserInfo() {
throw new Error('getUserInfo() must be implemented');
}
async authenticate() { throw new Error('authenticate() must be implemented'); }
async getAccessToken() { throw new Error('getAccessToken() must be implemented'); }
async refreshToken() { throw new Error('refreshToken() must be implemented'); }
async revokeAccess() { throw new Error('revokeAccess() must be implemented'); }
async getUserInfo() { throw new Error('getUserInfo() must be implemented'); }
}
export default AuthServiceBase;