From d596679826e596381f845f6d9ffeae91073e0585 Mon Sep 17 00:00:00 2001 From: Martin Walsh Date: Thu, 7 Sep 2017 14:55:34 +0100 Subject: [PATCH] Update --- Auth0/Identity.swift | 1 - Auth0/OAuth2Grant.swift | 1 - Auth0/Profile.swift | 1 - Auth0/Request.swift | 1 - Auth0/_ObjectiveManagementAPI.swift | 1 - 5 files changed, 5 deletions(-) diff --git a/Auth0/Identity.swift b/Auth0/Identity.swift index 1caaf079c..075e6ae42 100644 --- a/Auth0/Identity.swift +++ b/Auth0/Identity.swift @@ -43,7 +43,6 @@ public class Identity: NSObject, JSONObjectPayload { return "" } - // swiftlint:disable:next function_parameter_count public required init(identifier: String, provider: String, connection: String, social: Bool, profileData: [String: Any], accessToken: String?, expiresIn: Date?, accessTokenSecret: String?) { self.identifier = identifier self.provider = provider diff --git a/Auth0/OAuth2Grant.swift b/Auth0/OAuth2Grant.swift index 3b737c9e7..2f4140631 100644 --- a/Auth0/OAuth2Grant.swift +++ b/Auth0/OAuth2Grant.swift @@ -72,7 +72,6 @@ struct PKCE: OAuth2Grant { self.init(authentication: authentication, redirectURL: redirectURL, verifier: generator.verifier, challenge: generator.challenge, method: generator.method, responseType: reponseType, nonce: nonce) } - // swiftlint:disable:next function_parameter_count init(authentication: Authentication, redirectURL: URL, verifier: String, challenge: String, method: String, responseType: [ResponseType], nonce: String? = nil) { self.authentication = authentication self.redirectURL = redirectURL diff --git a/Auth0/Profile.swift b/Auth0/Profile.swift index c5f4c9bc9..250625406 100644 --- a/Auth0/Profile.swift +++ b/Auth0/Profile.swift @@ -60,7 +60,6 @@ public class Profile: NSObject, JSONObjectPayload { return self["app_metadata"] as? [String: Any] ?? [:] } - // swiftlint:disable:next function_parameter_count required public init(id: String, name: String, nickname: String, pictureURL: URL, createdAt: Date, email: String?, emailVerified: Bool, givenName: String?, familyName: String?, attributes: [String: Any], identities: [Identity]) { self.id = id self.name = name diff --git a/Auth0/Request.swift b/Auth0/Request.swift index 28f010fbe..cdffa2162 100644 --- a/Auth0/Request.swift +++ b/Auth0/Request.swift @@ -48,7 +48,6 @@ public struct Request: Requestable { let logger: Logger? let telemetry: Telemetry - // swiftlint:disable:next function_parameter_count init(session: URLSession, url: URL, method: String, handle: @escaping (Response, Callback) -> Void, payload: [String: Any] = [:], headers: [String: String] = [:], logger: Logger?, telemetry: Telemetry) { self.session = session self.url = url diff --git a/Auth0/_ObjectiveManagementAPI.swift b/Auth0/_ObjectiveManagementAPI.swift index 038eb1f5a..84c92ed29 100644 --- a/Auth0/_ObjectiveManagementAPI.swift +++ b/Auth0/_ObjectiveManagementAPI.swift @@ -69,7 +69,6 @@ public class _ObjectiveManagementAPI: NSObject { } @objc(unlinkUserWithIdentifier:provider:fromUserId:callback:) - // swiftlint:disable:next function_parameter_count public func unlink(identifier: String, provider: String, fromUserId userId: String, callback: @escaping (NSError?, [[String: Any]]?) -> Void) { self.users .unlink(identityId: identifier, provider: provider, fromUserId:userId)