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 agent: Credentials;
|
||||||
private readonly logger = getLoggerFor(this);
|
private readonly logger = getLoggerFor(this);
|
||||||
|
|
||||||
|
public constructor(agent: string);
|
||||||
|
public constructor(agent: Credentials);
|
||||||
public constructor(agent: string | Credentials) {
|
public constructor(agent: string | Credentials) {
|
||||||
super();
|
super();
|
||||||
this.agent = typeof agent === 'string' ? { webId: agent } : agent;
|
this.agent = typeof agent === 'string' ? { webId: agent } : agent;
|
||||||
|
@ -4,6 +4,7 @@ export * from './authentication/Credentials';
|
|||||||
export * from './authentication/CredentialsExtractor';
|
export * from './authentication/CredentialsExtractor';
|
||||||
export * from './authentication/DPoPWebIdExtractor';
|
export * from './authentication/DPoPWebIdExtractor';
|
||||||
export * from './authentication/EmptyCredentialsExtractor';
|
export * from './authentication/EmptyCredentialsExtractor';
|
||||||
|
export * from './authentication/UnsecureConstantCredentialsExtractor';
|
||||||
export * from './authentication/UnsecureWebIdExtractor';
|
export * from './authentication/UnsecureWebIdExtractor';
|
||||||
|
|
||||||
// Authorization
|
// Authorization
|
||||||
|
Loading…
x
Reference in New Issue
Block a user