diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-19 14:00:23 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-19 14:00:23 -0700 |
commit | d7784a1e4efd682aaf0ea5f44dc14df2d53f4001 (patch) | |
tree | 67b6ea8c0fcad58649abcdefc7789b753079b81a /src/types.ts | |
parent | 254b7e34d3ed028c74767dfeb0678677737df878 (diff) |
Add parseAssertionAuthData
Diffstat (limited to 'src/types.ts')
-rw-r--r-- | src/types.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/types.ts b/src/types.ts index 59e70c1..0442b31 100644 --- a/src/types.ts +++ b/src/types.ts @@ -102,3 +102,11 @@ export type SafetyNetJWTPayload = { }; export type SafetyNetJWTSignature = string; + +export type ParsedAssertionAuthData = { + rpIdHash: Buffer, + flagsBuf: Buffer, + flags: number, + counter: number, + counterBuf: Buffer, +}; |