mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Export UnsecureConstantCredentialsExtractor.
This commit is contained in:
parent
7dcde1e0e3
commit
542901488f
@ -10,6 +10,8 @@ export class UnsecureConstantCredentialsExtractor extends CredentialsExtractor {
|
||||
private readonly agent: Credentials;
|
||||
private readonly logger = getLoggerFor(this);
|
||||
|
||||
public constructor(agent: string);
|
||||
public constructor(agent: Credentials);
|
||||
public constructor(agent: string | Credentials) {
|
||||
super();
|
||||
this.agent = typeof agent === 'string' ? { webId: agent } : agent;
|
||||
|
@ -4,6 +4,7 @@ export * from './authentication/Credentials';
|
||||
export * from './authentication/CredentialsExtractor';
|
||||
export * from './authentication/DPoPWebIdExtractor';
|
||||
export * from './authentication/EmptyCredentialsExtractor';
|
||||
export * from './authentication/UnsecureConstantCredentialsExtractor';
|
||||
export * from './authentication/UnsecureWebIdExtractor';
|
||||
|
||||
// Authorization
|
||||
|
Loading…
x
Reference in New Issue
Block a user