Skip to content

TypeScript API / @laikacms/server/oauth2 / RegistrationOptions

Interface: RegistrationOptions ​

Options returned to the client for navigator.credentials.create()

Properties ​

publicKey ​

ts
publicKey: object;

attestation ​

ts
attestation: "none" | "indirect" | "direct";

authenticatorSelection ​

ts
authenticatorSelection: object;
authenticatorSelection.authenticatorAttachment? ​
ts
optional authenticatorAttachment?: "platform" | "cross-platform";
authenticatorSelection.residentKey ​
ts
residentKey: "required" | "preferred" | "discouraged";
authenticatorSelection.userVerification ​
ts
userVerification: "required" | "preferred" | "discouraged";

challenge ​

ts
challenge: string;

excludeCredentials ​

ts
excludeCredentials: object[];

pubKeyCredParams ​

ts
pubKeyCredParams: object[];

rp ​

ts
rp: object;
rp.id ​
ts
id: string;
rp.name ​
ts
name: string;

timeout ​

ts
timeout: number;

user ​

ts
user: object;
user.displayName ​
ts
displayName: string;
user.id ​
ts
id: string;
user.name ​
ts
name: string;

Released under the MIT License.