creationOptions: (
rpId: any,
kind?: any,
lane?: string,
classicalOnly?: boolean,
) => {
algorithms: any[];
attestation: string;
authenticatorSelection: AuthenticatorSelection;
credProps: boolean;
hints: string[];
minPinLength: boolean;
rp: { id: any; name: string };
timeout: any;
} = ...
Type Declaration
-
- (
rpId: any,
kind?: any,
lane?: string,
classicalOnly?: boolean,
): {
algorithms: any[];
attestation: string;
authenticatorSelection: AuthenticatorSelection;
credProps: boolean;
hints: string[];
minPinLength: boolean;
rp: { id: any; name: string };
timeout: any;
}
-
Parameters
- rpId: any
Optionalkind: any
Optionallane: string
OptionalclassicalOnly: boolean
Returns {
algorithms: any[];
attestation: string;
authenticatorSelection: AuthenticatorSelection;
credProps: boolean;
hints: string[];
minPinLength: boolean;
rp: { id: any; name: string };
timeout: any;
}
the options: RP, algorithms, attestation, timeout,
authenticator selection, hints and credProps
Builds the registration options the browser receives.
A
kindadds hints, prefers a discoverable credential for a passkey and asks a security key forcross-platform, the last only while the attachment setting isany. A policy that demands a trusted statement asks fordirectattestation.