hasInternetCredentials()
ts
function hasInternetCredentials(options): Promise<boolean>Checks if internet credentials exist for the given server.
Parameters
• options: BaseOptions
A keychain options object containing the server.
Returns
Promise<boolean>
Resolves to true if internet credentials exist, otherwise false.
Example
typescript
const hasCredentials = await Keychain.hasInternetCredentials({ server: 'https://example.com' });
console.log('Internet credentials exist:', hasCredentials);