Skip to content

Commit c822d9a

Browse files
authored
Merge pull request #8 from docterd/master
Fixed a build bug for JWT 3.0
2 parents 9f63884 + f5e09e2 commit c822d9a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sources/GoogleCloudProvider/OAuth/OAuthPayload.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public struct OAuthPayload: JWTPayload {
1414
var iat: IssuedAtClaim
1515
var exp: ExpirationClaim
1616

17-
public func verify() throws {
18-
try exp.verify()
17+
public func verify(using signer: JWTSigner) throws {
18+
try exp.verifyNotExpired()
1919
}
2020
}

0 commit comments

Comments
 (0)