Skip to content

Commit

Permalink
Merge pull request #18 from Hejki/fix-jwt-release
Browse files Browse the repository at this point in the history
Update vapor/jwt to release version 3.0.0
  • Loading branch information
calebkleveter authored Aug 18, 2018
2 parents a567ebc + 4a000e3 commit 54c47c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Package.swift
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"),
.package(url: "https://github.com/vapor/jwt.git", from: "3.0.0-rc")
.package(url: "https://github.com/vapor/jwt.git", from: "3.0.0")
],
targets: [
.target(name: "Imperial", dependencies: ["Vapor", "JWT"]),
Expand Down
6 changes: 3 additions & 3 deletions Sources/Imperial/Services/GoogleJWT/GoogleJWTPayload.swift
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ public struct GoogleJWTPayload: JWTPayload {
public var aud: AudienceClaim
public var iat: IssuedAtClaim
public var exp: ExpirationClaim
public func verify() throws {
try exp.verify()

public func verify(using signer: JWTSigner) throws {
try exp.verifyNotExpired()
}
}

0 comments on commit 54c47c2

Please sign in to comment.