CoreFiles by mySites.guru
Credential.php27 lines, 428 bytes, from Joomla_5.3.2-Stable-Full_Package.zip
Raw History Compare with 5.3.1
md5
0e48d04495c0e88b1eeb14448a206183
sha1
0ef43c059a800e30bf7dcd93ed36b12b6cd1e6df
sha256
73c5e7bd65838dedce7ce904327f9273d1eb3bb4ced8bd4e1947433fd48974b8
<?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;
    }
}

The same content is in 157 releases, Joomla 5.0.0-alpha1 to 6.2.1. See them all, or every version of this file.