Skip to content

Commit

Permalink
Add interface (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke authored Mar 20, 2024
1 parent a15b900 commit ffd3301
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/VerificationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
use Surfnet\YubikeyApiClient\Http\ServerPoolClient;
use Surfnet\YubikeyApiClient\Otp;

class VerificationService
class VerificationService implements VerificationServiceInterface
{
/**
* @var ServerPoolClient
Expand Down
29 changes: 29 additions & 0 deletions src/Service/VerificationServiceInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php

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
{
}

0 comments on commit ffd3301

Please sign in to comment.