Exchange code
During a registration or authentication operation the @passlock/browser library will return a code (alongside an id_token). You can send the code to your backend then use the REST API to verify it and obtain details about the passkey used.
GET /v2/{tenancyId}/principal/\{code\} HTTP/1.1Host: api.passlock.devAccept: application/jsonAuthorization: Bearer {apiKey}Response properties
Section titled “Response properties”See principal