mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 17:24:48 +10:00
finalised client APIs and authentication method
This commit is contained in:
@@ -51,4 +51,8 @@ export class CertificateAuthority {
|
||||
async storeClientCertificate(clientId: string, bundle: CertificateBundle) {
|
||||
await this.certificateStore.store(`client:${clientId}`, bundle);
|
||||
}
|
||||
|
||||
async fetchClientCertificate(clientId: string) {
|
||||
return await this.certificateStore.fetch(`client:${clientId}`);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user