Spade

Mini Shell

Directory:~$ /home/lmsyaran/www/joomla5/libraries/vendor/web-auth/webauthn-lib/src/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/www/joomla5/libraries/vendor/web-auth/webauthn-lib/src/Credential.php

<?php

declare(strict_types=1);

namespace Webauthn;

/**
 * @see https://w3c.github.io/webappsec-credential-management/#credential
 */
abstract class Credential
{
    public function __construct(
        protected string $id,
        protected string $type
    ) {
    }

    public function getId(): string
    {
        return $this->id;
    }

    public function getType(): string
    {
        return $this->type;
    }
}