Skip to content

Commit

Permalink
Merge pull request #108 from valeriomazzeo/3
Browse files Browse the repository at this point in the history
Fixed warning: 'public' modifier is redundant for initializer declared in a public extension
  • Loading branch information
tanner0101 committed Oct 24, 2019
2 parents 0debb7f + 8b7736e commit 4265f12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Sources/JWT/JWK+KeyOperation.swift
@@ -1,6 +1,6 @@
import Foundation

public extension JWK {
extension JWK {
public enum KeyOperation: String, Codable {
/// Compute digital signature or MAC.
case sign
Expand Down
2 changes: 1 addition & 1 deletion Sources/JWT/JWK.swift
Expand Up @@ -155,7 +155,7 @@ public struct JWK: Codable {
}
}

public extension JWTSigner {
extension JWTSigner {

/// Creates a JWT signer with the supplied JWK
public static func jwk(key: JWK) throws -> JWTSigner {
Expand Down
2 changes: 1 addition & 1 deletion Sources/JWT/JWKS.swift
Expand Up @@ -13,7 +13,7 @@ public struct JWKS: Codable {
}
}

public extension JWTSigners {
extension JWTSigners {

public convenience init(jwks: JWKS, skipAnonymousKeys: Bool = true) throws {
self.init()
Expand Down

0 comments on commit 4265f12

Please sign in to comment.