Skip to content

Commit

Permalink
Feature/add interface (#16)
Browse files Browse the repository at this point in the history
* Add interface

* Add interface
  • Loading branch information
parijke authored Mar 22, 2024
1 parent ffd3301 commit cf1af0a
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions src/Service/VerificationServiceInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,11 @@

declare(strict_types=1);

/**
* Copyright 2024 SURFnet B.V.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

namespace Surfnet\YubikeyApiClient\Service;

use Surfnet\YubikeyApiClient\Exception\RequestResponseMismatchException;
use Surfnet\YubikeyApiClient\Exception\UntrustedSignatureException;
use Surfnet\YubikeyApiClient\Otp;

interface VerificationServiceInterface
{
public function verify(Otp $otp): OtpVerificationResult;
}

0 comments on commit cf1af0a

Please sign in to comment.