summaryrefslogtreecommitdiffhomepage
path: root/src/types.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-19 14:00:23 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-19 14:00:23 -0700
commitd7784a1e4efd682aaf0ea5f44dc14df2d53f4001 (patch)
tree67b6ea8c0fcad58649abcdefc7789b753079b81a /src/types.ts
parent254b7e34d3ed028c74767dfeb0678677737df878 (diff)
Add parseAssertionAuthData
Diffstat (limited to 'src/types.ts')
-rw-r--r--src/types.ts8
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,
+};