Skip to content

Commit

Permalink
Merge pull request #78 from vapor/beta
Browse files Browse the repository at this point in the history
jwt beta
  • Loading branch information
tanner0101 authored Feb 28, 2018
2 parents 43a184c + c3cb06e commit f912bda
Show file tree
Hide file tree
Showing 45 changed files with 635 additions and 1,592 deletions.
13 changes: 9 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
// swift-tools-version:4.0
import PackageDescription

let package = Package(
name: "JWT",
products: [
.library(name: "JWT", targets: ["JWT"]),
],
dependencies: [
.Package(url: "https://github.com/vapor/crypto.git", majorVersion: 2),
.Package(url: "https://github.com/vapor/json.git", majorVersion: 2),
// 🔑 Hashing (BCrypt, SHA, HMAC, etc), encryption, and randomness.
.package(url: "https://github.com/vapor/crypto.git", from: "3.0.0-rc"),
],
exclude: [
"Playground"
targets: [
.target(name: "JWT", dependencies: ["Crypto"]),
.testTarget(name: "JWTTests", dependencies: ["JWT"]),
]
)
17 changes: 0 additions & 17 deletions [email protected]

This file was deleted.

14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<p align="center">
<img src="https://cloud.githubusercontent.com/assets/1342803/24798188/0915659c-1b95-11e7-9a99-7c75d760c904.png" width="320" alt="JWT">
<img src="https://user-images.githubusercontent.com/1342803/36768561-e10bba90-1c0d-11e8-85b5-f9d1e605cc8a.png" height="64" alt="JWT">
<br>
<br>
<a href="https://docs.vapor.codes/2.0/jwt/package/">
<img src="http://img.shields.io/badge/read_the-docs-92A8D1.svg" alt="Documentation">
<a href="https://docs.vapor.codes/3.0/jwt/getting-started/">
<img src="http://img.shields.io/badge/read_the-docs-2196f3.svg" alt="Documentation">
</a>
<a href="http://vapor.team">
<img src="http://vapor.team/badge.svg" alt="Slack Team">
Expand All @@ -15,6 +15,12 @@
<img src="https://circleci.com/gh/vapor/jwt.svg?style=shield" alt="Continuous Integration">
</a>
<a href="https://swift.org">
<img src="http://img.shields.io/badge/swift-3.1-brightgreen.svg" alt="Swift 3.1">
<img src="http://img.shields.io/badge/swift-4.1-brightgreen.svg" alt="Swift 4.1">
</a>
</p>

<hr>

**Original author**

- Siemen Sikkema, [@siemensikkema](http://github.com/siemensikkema)
64 changes: 0 additions & 64 deletions Sources/JWT/Claims/AudienceClaim.swift

This file was deleted.

26 changes: 0 additions & 26 deletions Sources/JWT/Claims/Claim.swift

This file was deleted.

16 changes: 0 additions & 16 deletions Sources/JWT/Claims/EqualityClaim.swift

This file was deleted.

20 changes: 0 additions & 20 deletions Sources/JWT/Claims/ExpirationTimeClaim.swift

This file was deleted.

12 changes: 0 additions & 12 deletions Sources/JWT/Claims/IssuedAtClaim.swift

This file was deleted.

11 changes: 0 additions & 11 deletions Sources/JWT/Claims/IssuerClaim.swift

This file was deleted.

11 changes: 0 additions & 11 deletions Sources/JWT/Claims/JWTIDClaim.swift

This file was deleted.

20 changes: 0 additions & 20 deletions Sources/JWT/Claims/NotBeforeClaim.swift

This file was deleted.

11 changes: 0 additions & 11 deletions Sources/JWT/Claims/SubjectClaim.swift

This file was deleted.

51 changes: 0 additions & 51 deletions Sources/JWT/Claims/TimeBasedClaim.swift

This file was deleted.

37 changes: 0 additions & 37 deletions Sources/JWT/ClaimsVerifiable.swift

This file was deleted.

3 changes: 0 additions & 3 deletions Sources/JWT/Exports.swift

This file was deleted.

10 changes: 0 additions & 10 deletions Sources/JWT/Headers/AlgorithmHeader.swift

This file was deleted.

1 change: 0 additions & 1 deletion Sources/JWT/Headers/Header.swift

This file was deleted.

17 changes: 0 additions & 17 deletions Sources/JWT/Headers/KeyIDHeader.swift

This file was deleted.

6 changes: 0 additions & 6 deletions Sources/JWT/Headers/TypeHeader.swift

This file was deleted.

Loading

0 comments on commit f912bda

Please sign in to comment.