oidc: rename CloudronAdapter to StorageAdapter

This commit is contained in:
Girish Ramakrishnan
2025-06-11 20:42:16 +02:00
parent 1091142614
commit f2193ff45c
+3 -3
View File
@@ -227,8 +227,8 @@ async function cleanupExpired() {
}
}
// Generic oidc node module data store model
class CloudronAdapter {
// Generic oidc node module data store model . It will be instantiated many times (AccessToken, Grant, Interaction etc)
class StorageAdapter {
constructor(name) {
this.name = name;
@@ -734,7 +734,7 @@ async function start() {
const configuration = {
findAccount,
renderError,
adapter: CloudronAdapter,
adapter: StorageAdapter,
interactions: {
url: async function(ctx, interaction) {
return `${ROUTE_PREFIX}/interaction/${interaction.uid}`;