├── .github ├── CODEOWNERS ├── dependabot.yml ├── runs-on.yml └── workflows │ ├── api-docs.yml │ ├── benchmark.yml │ └── test.yml ├── .gitignore ├── .spi.yml ├── .swift-format ├── Benchmarks ├── .gitignore ├── .swiftformat ├── Package.swift ├── Signing │ └── Signing.swift ├── Thresholds │ ├── Signing.ES256.p90.json │ ├── Signing.EdDSA.p90.json │ ├── Signing.MLDSA65.p90.json │ ├── Signing.RS256.p90.json │ ├── TokenLifecycle.ES256-Generated.p90.json │ ├── TokenLifecycle.ES256-PEM.p90.json │ ├── TokenLifecycle.EdDSA-Coordinates.p90.json │ ├── TokenLifecycle.EdDSA-Generated.p90.json │ ├── TokenLifecycle.MLDSA65.p90.json │ ├── TokenLifecycle.RSA-PEM.p90.json │ ├── Verifying.ES256.p90.json │ ├── Verifying.EdDSA.p90.json │ ├── Verifying.MLDSA65.p90.json │ └── Verifying.RS256.p90.json ├── TokenLifecycle │ └── TokenLifecycle.swift ├── Utilities │ ├── Data+hex.swift │ └── Payload.swift └── Verifying │ └── Verifying.swift ├── LICENSE ├── NOTICES.txt ├── Package.swift ├── README.md ├── Snippets ├── JWKExamples.swift └── JWTKitExamples.swift ├── Sources └── JWTKit │ ├── Claims │ ├── AudienceClaim.swift │ ├── BoolClaim.swift │ ├── ExpirationClaim.swift │ ├── GoogleHostedDomainClaim.swift │ ├── IDClaim.swift │ ├── IssuedAtClaim.swift │ ├── IssuerClaim.swift │ ├── JWTClaim.swift │ ├── JWTMultiValueClaim.swift │ ├── JWTUnixEpochClaim.swift │ ├── LocaleClaim.swift │ ├── NotBeforeClaim.swift │ ├── SubjectClaim.swift │ └── TenantIDClaim.swift │ ├── Docs.docc │ ├── images │ │ └── vapor-jwtkit-logo.svg │ ├── index.md │ └── theme-settings.json │ ├── ECDSA │ ├── ECDSA.swift │ ├── ECDSACurve.swift │ ├── ECDSACurveType.swift │ ├── ECDSAError.swift │ ├── ECDSAKeyTypes.swift │ ├── ECDSASigner.swift │ ├── ECDSASigningAlgorithm.swift │ ├── JWTKeyCollection+ECDSA.swift │ ├── P256+CurveType.swift │ ├── P384+CurveType.swift │ └── P521+CurveType.swift │ ├── EdDSA │ ├── EdDSA.swift │ ├── EdDSACurve.swift │ ├── EdDSAError.swift │ ├── EdDSASigner.swift │ └── JWTKeyCollection+EdDSA.swift │ ├── HMAC │ ├── HMAC.swift │ ├── HMACError.swift │ ├── HMACSigner.swift │ └── JWTKeyCollection+HMAC.swift │ ├── Insecure │ └── Insecure.swift │ ├── JWK │ ├── JWK.swift │ ├── JWKIdentifier.swift │ ├── JWKS.swift │ └── JWKSigner.swift │ ├── JWTAlgorithm.swift │ ├── JWTError.swift │ ├── JWTHeader+CommonFields.swift │ ├── JWTHeader.swift │ ├── JWTHeaderField.swift │ ├── JWTKeyCollection.swift │ ├── JWTParser.swift │ ├── JWTPayload.swift │ ├── JWTSerializer.swift │ ├── JWTSigner.swift │ ├── MLDSA │ ├── JWTKeyCollection+MLDSA.swift │ ├── MLDSA.swift │ ├── MLDSA65+MLDSAKey.swift │ ├── MLDSA87+MLDSAKey.swift │ ├── MLDSAError.swift │ ├── MLDSAKey.swift │ ├── MLDSASigner.swift │ └── MLDSAType.swift │ ├── None │ ├── JWTKeyCollection+UnsecuredNone.swift │ └── UnsecuredNoneSigner.swift │ ├── RSA │ ├── JWTKeyCollection+RSA.swift │ ├── RSA.swift │ ├── RSAError.swift │ └── RSASigner.swift │ ├── Utilities │ ├── Base64URL.swift │ ├── CryptoSigner.swift │ ├── CustomizedJSONCoders.swift │ └── Utilities.swift │ ├── Vendor │ ├── AppleIdentityToken.swift │ ├── FirebaseAuthIdentityToken.swift │ ├── GoogleIdentityToken.swift │ └── MicrosoftIdentityToken.swift │ └── X5C │ ├── EmptyPolicy.swift │ ├── ValidationTimePayload.swift │ └── X5CVerifier.swift ├── Tests └── JWTKitTests │ ├── ClaimTests.swift │ ├── ECDSATests.swift │ ├── EdDSATests.swift │ ├── Helpers │ └── String+bytes.swift │ ├── JWTKitTests.swift │ ├── MLDSATests.swift │ ├── PSSTests.swift │ ├── RSATests.swift │ ├── Types │ ├── AudiencePayload.swift │ ├── BadBoolPayload.swift │ ├── BoolPayload.swift │ ├── ExpirationPayload.swift │ ├── LocalePayload.swift │ └── TestPayload.swift │ ├── VendorTokenTests.swift │ └── X5CTests.swift └── scripts ├── generate-certificates.sh └── generateTokens.swift /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/runs-on.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/.github/runs-on.yml -------------------------------------------------------------------------------- /.github/workflows/api-docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/.github/workflows/api-docs.yml -------------------------------------------------------------------------------- /.github/workflows/benchmark.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/.github/workflows/benchmark.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/.gitignore -------------------------------------------------------------------------------- /.spi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/.spi.yml -------------------------------------------------------------------------------- /.swift-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/.swift-format -------------------------------------------------------------------------------- /Benchmarks/.gitignore: -------------------------------------------------------------------------------- 1 | ../.gitignore -------------------------------------------------------------------------------- /Benchmarks/.swiftformat: -------------------------------------------------------------------------------- 1 | ../.swiftformat -------------------------------------------------------------------------------- /Benchmarks/Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Package.swift -------------------------------------------------------------------------------- /Benchmarks/Signing/Signing.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Signing/Signing.swift -------------------------------------------------------------------------------- /Benchmarks/Thresholds/Signing.ES256.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/Signing.ES256.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/Signing.EdDSA.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/Signing.EdDSA.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/Signing.MLDSA65.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/Signing.MLDSA65.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/Signing.RS256.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/Signing.RS256.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/TokenLifecycle.ES256-Generated.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/TokenLifecycle.ES256-Generated.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/TokenLifecycle.ES256-PEM.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/TokenLifecycle.ES256-PEM.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/TokenLifecycle.EdDSA-Coordinates.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/TokenLifecycle.EdDSA-Coordinates.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/TokenLifecycle.EdDSA-Generated.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/TokenLifecycle.EdDSA-Generated.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/TokenLifecycle.MLDSA65.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/TokenLifecycle.MLDSA65.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/TokenLifecycle.RSA-PEM.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/TokenLifecycle.RSA-PEM.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/Verifying.ES256.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/Verifying.ES256.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/Verifying.EdDSA.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/Verifying.EdDSA.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/Verifying.MLDSA65.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/Verifying.MLDSA65.p90.json -------------------------------------------------------------------------------- /Benchmarks/Thresholds/Verifying.RS256.p90.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Thresholds/Verifying.RS256.p90.json -------------------------------------------------------------------------------- /Benchmarks/TokenLifecycle/TokenLifecycle.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/TokenLifecycle/TokenLifecycle.swift -------------------------------------------------------------------------------- /Benchmarks/Utilities/Data+hex.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Utilities/Data+hex.swift -------------------------------------------------------------------------------- /Benchmarks/Utilities/Payload.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Utilities/Payload.swift -------------------------------------------------------------------------------- /Benchmarks/Verifying/Verifying.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Benchmarks/Verifying/Verifying.swift -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/LICENSE -------------------------------------------------------------------------------- /NOTICES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/NOTICES.txt -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Package.swift -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/README.md -------------------------------------------------------------------------------- /Snippets/JWKExamples.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Snippets/JWKExamples.swift -------------------------------------------------------------------------------- /Snippets/JWTKitExamples.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Snippets/JWTKitExamples.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/AudienceClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/AudienceClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/BoolClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/BoolClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/ExpirationClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/ExpirationClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/GoogleHostedDomainClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/GoogleHostedDomainClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/IDClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/IDClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/IssuedAtClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/IssuedAtClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/IssuerClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/IssuerClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/JWTClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/JWTClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/JWTMultiValueClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/JWTMultiValueClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/JWTUnixEpochClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/JWTUnixEpochClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/LocaleClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/LocaleClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/NotBeforeClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/NotBeforeClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/SubjectClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/SubjectClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Claims/TenantIDClaim.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Claims/TenantIDClaim.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Docs.docc/images/vapor-jwtkit-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Docs.docc/images/vapor-jwtkit-logo.svg -------------------------------------------------------------------------------- /Sources/JWTKit/Docs.docc/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Docs.docc/index.md -------------------------------------------------------------------------------- /Sources/JWTKit/Docs.docc/theme-settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Docs.docc/theme-settings.json -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/ECDSA.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/ECDSA.swift -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/ECDSACurve.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/ECDSACurve.swift -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/ECDSACurveType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/ECDSACurveType.swift -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/ECDSAError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/ECDSAError.swift -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/ECDSAKeyTypes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/ECDSAKeyTypes.swift -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/ECDSASigner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/ECDSASigner.swift -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/ECDSASigningAlgorithm.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/ECDSASigningAlgorithm.swift -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/JWTKeyCollection+ECDSA.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/JWTKeyCollection+ECDSA.swift -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/P256+CurveType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/P256+CurveType.swift -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/P384+CurveType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/P384+CurveType.swift -------------------------------------------------------------------------------- /Sources/JWTKit/ECDSA/P521+CurveType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/ECDSA/P521+CurveType.swift -------------------------------------------------------------------------------- /Sources/JWTKit/EdDSA/EdDSA.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/EdDSA/EdDSA.swift -------------------------------------------------------------------------------- /Sources/JWTKit/EdDSA/EdDSACurve.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/EdDSA/EdDSACurve.swift -------------------------------------------------------------------------------- /Sources/JWTKit/EdDSA/EdDSAError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/EdDSA/EdDSAError.swift -------------------------------------------------------------------------------- /Sources/JWTKit/EdDSA/EdDSASigner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/EdDSA/EdDSASigner.swift -------------------------------------------------------------------------------- /Sources/JWTKit/EdDSA/JWTKeyCollection+EdDSA.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/EdDSA/JWTKeyCollection+EdDSA.swift -------------------------------------------------------------------------------- /Sources/JWTKit/HMAC/HMAC.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/HMAC/HMAC.swift -------------------------------------------------------------------------------- /Sources/JWTKit/HMAC/HMACError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/HMAC/HMACError.swift -------------------------------------------------------------------------------- /Sources/JWTKit/HMAC/HMACSigner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/HMAC/HMACSigner.swift -------------------------------------------------------------------------------- /Sources/JWTKit/HMAC/JWTKeyCollection+HMAC.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/HMAC/JWTKeyCollection+HMAC.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Insecure/Insecure.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Insecure/Insecure.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWK/JWK.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWK/JWK.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWK/JWKIdentifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWK/JWKIdentifier.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWK/JWKS.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWK/JWKS.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWK/JWKSigner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWK/JWKSigner.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWTAlgorithm.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWTAlgorithm.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWTError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWTError.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWTHeader+CommonFields.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWTHeader+CommonFields.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWTHeader.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWTHeader.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWTHeaderField.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWTHeaderField.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWTKeyCollection.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWTKeyCollection.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWTParser.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWTParser.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWTPayload.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWTPayload.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWTSerializer.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWTSerializer.swift -------------------------------------------------------------------------------- /Sources/JWTKit/JWTSigner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/JWTSigner.swift -------------------------------------------------------------------------------- /Sources/JWTKit/MLDSA/JWTKeyCollection+MLDSA.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/MLDSA/JWTKeyCollection+MLDSA.swift -------------------------------------------------------------------------------- /Sources/JWTKit/MLDSA/MLDSA.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/MLDSA/MLDSA.swift -------------------------------------------------------------------------------- /Sources/JWTKit/MLDSA/MLDSA65+MLDSAKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/MLDSA/MLDSA65+MLDSAKey.swift -------------------------------------------------------------------------------- /Sources/JWTKit/MLDSA/MLDSA87+MLDSAKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/MLDSA/MLDSA87+MLDSAKey.swift -------------------------------------------------------------------------------- /Sources/JWTKit/MLDSA/MLDSAError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/MLDSA/MLDSAError.swift -------------------------------------------------------------------------------- /Sources/JWTKit/MLDSA/MLDSAKey.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/MLDSA/MLDSAKey.swift -------------------------------------------------------------------------------- /Sources/JWTKit/MLDSA/MLDSASigner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/MLDSA/MLDSASigner.swift -------------------------------------------------------------------------------- /Sources/JWTKit/MLDSA/MLDSAType.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/MLDSA/MLDSAType.swift -------------------------------------------------------------------------------- /Sources/JWTKit/None/JWTKeyCollection+UnsecuredNone.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/None/JWTKeyCollection+UnsecuredNone.swift -------------------------------------------------------------------------------- /Sources/JWTKit/None/UnsecuredNoneSigner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/None/UnsecuredNoneSigner.swift -------------------------------------------------------------------------------- /Sources/JWTKit/RSA/JWTKeyCollection+RSA.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/RSA/JWTKeyCollection+RSA.swift -------------------------------------------------------------------------------- /Sources/JWTKit/RSA/RSA.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/RSA/RSA.swift -------------------------------------------------------------------------------- /Sources/JWTKit/RSA/RSAError.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/RSA/RSAError.swift -------------------------------------------------------------------------------- /Sources/JWTKit/RSA/RSASigner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/RSA/RSASigner.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Utilities/Base64URL.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Utilities/Base64URL.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Utilities/CryptoSigner.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Utilities/CryptoSigner.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Utilities/CustomizedJSONCoders.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Utilities/CustomizedJSONCoders.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Utilities/Utilities.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Utilities/Utilities.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Vendor/AppleIdentityToken.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Vendor/AppleIdentityToken.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Vendor/FirebaseAuthIdentityToken.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Vendor/FirebaseAuthIdentityToken.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Vendor/GoogleIdentityToken.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Vendor/GoogleIdentityToken.swift -------------------------------------------------------------------------------- /Sources/JWTKit/Vendor/MicrosoftIdentityToken.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/Vendor/MicrosoftIdentityToken.swift -------------------------------------------------------------------------------- /Sources/JWTKit/X5C/EmptyPolicy.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/X5C/EmptyPolicy.swift -------------------------------------------------------------------------------- /Sources/JWTKit/X5C/ValidationTimePayload.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/X5C/ValidationTimePayload.swift -------------------------------------------------------------------------------- /Sources/JWTKit/X5C/X5CVerifier.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Sources/JWTKit/X5C/X5CVerifier.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/ClaimTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/ClaimTests.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/ECDSATests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/ECDSATests.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/EdDSATests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/EdDSATests.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/Helpers/String+bytes.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/Helpers/String+bytes.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/JWTKitTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/JWTKitTests.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/MLDSATests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/MLDSATests.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/PSSTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/PSSTests.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/RSATests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/RSATests.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/Types/AudiencePayload.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/Types/AudiencePayload.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/Types/BadBoolPayload.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/Types/BadBoolPayload.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/Types/BoolPayload.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/Types/BoolPayload.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/Types/ExpirationPayload.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/Types/ExpirationPayload.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/Types/LocalePayload.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/Types/LocalePayload.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/Types/TestPayload.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/Types/TestPayload.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/VendorTokenTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/VendorTokenTests.swift -------------------------------------------------------------------------------- /Tests/JWTKitTests/X5CTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/Tests/JWTKitTests/X5CTests.swift -------------------------------------------------------------------------------- /scripts/generate-certificates.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/scripts/generate-certificates.sh -------------------------------------------------------------------------------- /scripts/generateTokens.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vapor/jwt-kit/HEAD/scripts/generateTokens.swift --------------------------------------------------------------------------------