mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Add index signature to Credentials
* feat: abstract Credentials type for Authorizer * feat: abstract Credentials type in CredentialsExtractor & PermissionReader * chore: typegraphical corrections in documentation Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com> * fix: remove accidental .js extension * feat: also check for undefined credentials when deciding 401/404 * docs: corrections to code documentation Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com> * fix: revert abstraction & index signature to Credentials * chhore: fix linter issues --------- Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
This commit is contained in:
@@ -5,4 +5,5 @@ export type Credentials = {
|
||||
agent?: { webId: string };
|
||||
client?: { clientId: string };
|
||||
issuer?: { url: string };
|
||||
[key: string]: unknown;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user