forked from AzimoLabs/apple-sign-in-php-sdk
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
35 changed files
with
345 additions
and
639 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Api; | ||
|
||
interface AppleApiClientInterface | ||
{ | ||
public function getAuthKeys(): Response\JsonWebKeySetCollection; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Api\Exception; | ||
|
||
use InvalidArgumentException; | ||
|
||
class InvalidResponseException extends InvalidArgumentException implements AppleApiExceptionInterface | ||
final class InvalidResponseException extends InvalidArgumentException implements AppleApiExceptionInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Api\Exception; | ||
|
||
use RuntimeException; | ||
|
||
class PublicKeyFetchingFailedException extends RuntimeException implements AppleApiExceptionInterface | ||
final class PublicKeyFetchingFailedException extends RuntimeException implements AppleApiExceptionInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Api\Exception; | ||
|
||
use InvalidArgumentException; | ||
|
||
class ResponseValidationException extends InvalidArgumentException implements AppleApiExceptionInterface | ||
final class ResponseValidationException extends InvalidArgumentException implements AppleApiExceptionInterface | ||
{ | ||
} |
6 changes: 4 additions & 2 deletions
6
src/Api/Exception/UnsupportedCryptographicAlgorithmException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Api\Exception; | ||
|
||
use InvalidArgumentException; | ||
|
||
class UnsupportedCryptographicAlgorithmException extends InvalidArgumentException implements AppleApiExceptionInterface | ||
final class UnsupportedCryptographicAlgorithmException extends InvalidArgumentException implements AppleApiExceptionInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Api\Factory; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Auth\Exception; | ||
|
||
|
6 changes: 4 additions & 2 deletions
6
src/Auth/Exception/InvalidCryptographicAlgorithmException.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Auth\Exception; | ||
|
||
use InvalidArgumentException; | ||
|
||
class InvalidCryptographicAlgorithmException extends InvalidArgumentException implements AppleExceptionInterface | ||
final class InvalidCryptographicAlgorithmException extends InvalidArgumentException implements AppleExceptionInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Auth\Exception; | ||
|
||
use InvalidArgumentException; | ||
|
||
class InvalidJwtException extends InvalidArgumentException implements AppleExceptionInterface | ||
final class InvalidJwtException extends InvalidArgumentException implements AppleExceptionInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Auth\Exception; | ||
|
||
use RuntimeException; | ||
|
||
class KeysFetchingFailedException extends RuntimeException implements AppleExceptionInterface | ||
final class KeysFetchingFailedException extends RuntimeException implements AppleExceptionInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Auth\Exception; | ||
|
||
use OutOfBoundsException; | ||
|
||
class MissingClaimException extends OutOfBoundsException implements AppleExceptionInterface | ||
final class MissingClaimException extends OutOfBoundsException implements AppleExceptionInterface | ||
{ | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Auth\Exception; | ||
|
||
use InvalidArgumentException; | ||
|
||
class ValidationFailedException extends InvalidArgumentException implements AppleExceptionInterface | ||
final class ValidationFailedException extends InvalidArgumentException implements AppleExceptionInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<?php declare(strict_types=1); | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Azimo\Apple\Auth\Exception; | ||
|
||
use InvalidArgumentException; | ||
|
||
class VerificationFailedException extends InvalidArgumentException implements AppleExceptionInterface | ||
final class VerificationFailedException extends InvalidArgumentException implements AppleExceptionInterface | ||
{ | ||
} |
Oops, something went wrong.