oidc: rename CloudronAdapter to StorageAdapter
This commit is contained in:
+3
-3
@@ -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}`;
|
||||
|
||||
Reference in New Issue
Block a user