Skip to main content

Function: hasInternetCredentials()

hasInternetCredentials(server): Promise<false | Result>

Checks if internet credentials exist for the given server.

Parameters

server: string

The server URL.

Returns

Promise<false | Result>

Resolves to an object containing service and storage when successful, or false if not found.

Example

const hasCredentials = await Keychain.hasInternetCredentials('https://example.com');
console.log('Internet credentials exist:', hasCredentials);

Defined in

index.ts:358