@m-ld/gateway
Version:
m-ld gateway for services
15 lines (14 loc) • 387 B
TypeScript
import { AuthKey, KeyStore } from './AuthKey.js';
/**
* A key store that persists to a m-ld domain
*/
export declare class DomainKeyStore implements KeyStore {
private readonly appId;
constructor(appId: string);
mintKey(name: string): Promise<{
key: AuthKey;
name: string;
revoked: boolean;
}>;
pingKey(keyid: string): Promise<undefined>;
}