zeroant-factory
Version:
Factory modules for zeroant
13 lines (10 loc) • 484 B
text/typescript
export default abstract class IdpAdapterFactory {
constructor(public name: string) {}
async upsert(id: string, payload: Record<string, any>, expiresIn = 0): Promise<void> {}
async find(id: string): Promise<void> {}
async findByUserCode(userCode: string): Promise<void> {}
async findByUid(uid: string): Promise<void> {}
async consume(id: string): Promise<void> {}
async destroy(id: string): Promise<void> {}
async revokeByGrantId(grantId: string): Promise<void> {}
}