UNPKG

android-credential-manager

Version:

An expo module to access the new Android credential Manager. Supports username/password, Passkeys and Google Sign In. This module is built to use the suggested and latest way to sign in users through Google

14 lines (11 loc) 472 B
import { NativeModule, requireNativeModule } from "expo"; import { CreateResponse } from "./CreateResponse.types"; declare class CredentialManagerModule extends NativeModule { saveUsernameAndPassword(username: string, password: string): string; createPassKey(response: string): string; _login(logintypes: string): string; prefetchCredentials(loginProviders: string): void; } export default requireNativeModule<CredentialManagerModule>( "CredentialManager", );