summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-19 23:12:31 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-19 23:12:31 -0700
commit03e3c07946a3f36ca5984ec8946600299aff1c6f (patch)
tree275ccf2f4cb8af71427a26298b7e5ab2be122a00 /src
parentec024cc26f147d8c784ba7526705202b15718ba6 (diff)
Refine library method and type exports
Diffstat (limited to 'src')
-rw-r--r--src/index.ts16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/index.ts b/src/index.ts
index 8b9dc90..356ec2e 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,11 +1,19 @@
import generateAttestationCredentials from './attestation/generateAttestationCredentials';
import verifyAttestationResponse from './attestation/verifyAttestationResponse';
import generateAssertionCredentials from './assertion/generateAssertionCredentials';
+import verifyAssertionResponse from './assertion/verifyAssertionResponse';
export {
- // Attestation (e.g. Registration)
- generateAttestationCredentials,
- verifyAttestationResponse,
- // Assertion (e.g. Login)
generateAssertionCredentials,
+ verifyAttestationResponse,
+ generateAttestationCredentials,
+ verifyAssertionResponse,
};
+
+export {
+ EncodedAuthenticatorAssertionResponse,
+ EncodedAuthenticatorAttestationResponse,
+ VerifiedAttestation,
+ VerifiedAssertion,
+ AuthenticatorDevice,
+} from './libTypes';