Skip to main content
Version: 9.0.0

Function: requestSharedWebCredentials()

requestSharedWebCredentials(): Promise<false | SharedWebCredentials>

Request shared web credentials (iOS only).

Returns

Promise<false | SharedWebCredentials>

Resolves to an object containing server, username, and password if approved, or false if denied.

Example

const credentials = await Keychain.requestSharedWebCredentials();
if (credentials) {
console.log('Shared credentials retrieved:', credentials);
} else {
console.log('No shared credentials available');
}

Defined in

index.ts:472