Skip to content

Commit 7fbef89

Browse files
committed
first go at moving auth, tests are failing, need to replace solidLogigSingleton
1 parent 5a8f87a commit 7fbef89

29 files changed

Lines changed: 1771 additions & 2055 deletions

src/acl/add-agent-buttons.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import { AccessGroups } from './access-groups'
77
import { icons } from '../iconBase'
88
import * as widgets from '../widgets'
99
import * as ns from '../ns'
10-
import { logInLoadProfile } from '../authn/authn'
10+
import { authn, AuthenticationContext } from 'solid-logic'
1111
import * as utils from '../utils'
1212
import { NamedNode, Store } from 'rdflib'
13-
import { AuthenticationContext } from '../authn/types'
13+
// import { AuthenticationContext } from '../authn/types'
1414
import * as debug from '../debug'
1515

1616
/**
@@ -184,7 +184,7 @@ export class AddAgentButtons {
184184
}
185185

186186
private async renderAppsTable (eventContext: AuthenticationContext): Promise<string> {
187-
await logInLoadProfile(eventContext)
187+
await authn.logInLoadProfile(eventContext)
188188
const trustedApps = (this.groupList.store as Store).each(eventContext.me, ns.acl('trustedApp')) as Array<NamedNode> // @@ TODO fix as
189189
const trustedOrigins = trustedApps.flatMap(app => (this.groupList.store as Store).each(app, ns.acl('origin'))) // @@ TODO fix as
190190

src/authn/authSession.ts

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)