CoreFiles by mySites.guru
AuthenticatorResponse.php35 lines, 686 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
7b47ac42c9f5317720cc2d133a994708
sha1
9ce56acb23ace4a7ebd136327c89c89e1f4a72a2
sha256
ba0ec7777e52e093fda83443db33434d26877250f65b9c0ab1508e3e042bb0a8
<?php

declare(strict_types=1);

/*
 * The MIT License (MIT)
 *
 * Copyright (c) 2014-2019 Spomky-Labs
 *
 * This software may be modified and distributed under the terms
 * of the MIT license.  See the LICENSE file for details.
 */

namespace Webauthn;

/**
 * @see https://www.w3.org/TR/webauthn/#authenticatorresponse
 */
abstract class AuthenticatorResponse
{
    /**
     * @var CollectedClientData
     */
    private $clientDataJSON;

    public function __construct(CollectedClientData $clientDataJSON)
    {
        $this->clientDataJSON = $clientDataJSON;
    }

    public function getClientDataJSON(): CollectedClientData
    {
        return $this->clientDataJSON;
    }
}

The same content is in 131 releases, Joomla 4.0.0-beta to 4.4.14. See them all, or every version of this file.