We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f63884 + f5e09e2 commit c822d9aCopy full SHA for c822d9a
1 file changed
Sources/GoogleCloudProvider/OAuth/OAuthPayload.swift
@@ -14,7 +14,7 @@ public struct OAuthPayload: JWTPayload {
14
var iat: IssuedAtClaim
15
var exp: ExpirationClaim
16
17
- public func verify() throws {
18
- try exp.verify()
+ public func verify(using signer: JWTSigner) throws {
+ try exp.verifyNotExpired()
19
}
20
0 commit comments