// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

package org.chromium.chrome.browser.webauth;

import android.os.Bundle;

/**
 * Fake implementation of the Android Credential Manager Passkey object.
 */
public final class FakeAndroidPublicKeyCredential implements FakeAndroidCredential {
    @Override
    public Bundle getData() {
        Bundle data = new Bundle();
        data.putString("androidx.credentials.BUNDLE_KEY_AUTHENTICATION_RESPONSE_JSON", "json");
        return data;
    }

    @Override
    public String getType() {
        return "androidx.credentials.TYPE_PUBLIC_KEY_CREDENTIAL";
    }
}
