feat(TALE-35): implement pre-auth key management

This commit is contained in:
Aarnav Tale 2024-10-11 03:02:33 -04:00
parent ecef45c98a
commit aa7e2a3128
No known key found for this signature in database
11 changed files with 613 additions and 29 deletions

11
app/types/PreAuthKey.ts Normal file
View file

@ -0,0 +1,11 @@
export interface PreAuthKey {
id: string
key: string
user: string
reusable: boolean
ephemeral: boolean
used: boolean
expiration: string
createdAt: string
aclTags: string[]
}

View file

@ -2,3 +2,4 @@ export * from './Key'
export * from './Machine'
export * from './Route'
export * from './User'
export * from './PreAuthKey'