LogoLogo
Github
  • 👋Welcome to Android-Credential-Manager Docs
  • 🖐️Getting Started
    • 🔧Installation
    • 📃Digitial Asset Linking
  • ➕Creating Credentials
    • Overview
    • Saving Username and Passwords
    • Creating a Passkey
    • Error Handling
  • 🧑‍💻Login Users
    • Overview
    • UserName and Password
    • Passkeys
    • Google Sign In
    • Error Handling
    • Performance Improvements
Powered by GitBook

2025 GuhanSenSam

On this page
  1. Login Users

Passkeys

Sign in Users with their saved passkeys

Use this provider if you have the option for users to add passkeys to their account.

import {
  PasskeyProvider,
} from "credential-manager/loginProviders/LoginProviders";
import { LoginProvider } from "credential-manager/loginProviders/types";

const provider: LoginProvider = new PasskeyProvider({
      challenge: "abc123", // The same challenge you used to create the passkey
      timeout: 180000, // Time to wait before dropping the request. Suggested 18000
      rpId: "guhansensam.com", // Your domain under which the passkey was created
      userVerification: "required", // Whether user verification is required
    });

PreviousUserName and PasswordNextGoogle Sign In

Last updated 3 months ago

🧑‍💻