mirror of
https://github.com/standardnotes/server
synced 2026-07-14 00:01:54 -04:00
11 lines
322 B
TypeScript
11 lines
322 B
TypeScript
export interface CrossServiceTokenCacheInterface {
|
|
set(dto: {
|
|
authorizationHeaderValue: string
|
|
encodedCrossServiceToken: string
|
|
expiresAtInSeconds: number
|
|
userUuid: string
|
|
}): Promise<void>
|
|
get(authorizationHeaderValue: string): Promise<string | null>
|
|
invalidate(userUuid: string): Promise<void>
|
|
}
|