Function: setSharedWebCredentials()
setSharedWebCredentials(
server
,username
,password
?):Promise
<void
>
Sets shared web credentials (iOS only).
Parameters
• server: string
The server URL.
• username: string
The username or e-mail to be saved.
• password?: string
The password to be saved.
Returns
Promise
<void
>
Resolves when the operation is completed.
Example
await Keychain.setSharedWebCredentials('https://example.com', 'username', 'password');
console.log('Shared web credentials set');