Skip to content

Commit

Permalink
Fix SwiftLint warnings (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Dec 14, 2023
1 parent 4602fdb commit 68c3f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Auth0/IDTokenSignatureValidator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ struct IDTokenSignatureValidator: JWTAsyncValidator {
}
algorithm.verify(jwt, using: jwk) ? callback(nil) : callback(ValidationError.invalidSignature)
case .failure: callback(ValidationError.missingPublicKey(kid: kid))
}
}
}
}

private func validateAlg(_ jwt: JWT) -> Auth0Error? {
Expand Down
2 changes: 1 addition & 1 deletion Auth0/OAuth2Grant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ struct PKCE: OAuth2Grant {
}
callback(.success(credentials))
}
}
}
}
}

func values(fromComponents components: URLComponents) -> [String: String] {
Expand Down

0 comments on commit 68c3f80

Please sign in to comment.