Function: hasInternetCredentials()
hasInternetCredentials(
serverOrOptions):Promise<boolean>
Checks if internet credentials exist for the given server.
Parameters
• serverOrOptions: string | BaseOptions
A keychain options object or a server name string.
Returns
Promise<boolean>
Resolves to true if internet credentials exist, otherwise false.
Example
const hasCredentials = await Keychain.hasInternetCredentials('https://example.com');
console.log('Internet credentials exist:', hasCredentials);