Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
cocojoe committed Sep 7, 2017
1 parent a8993d8 commit d596679
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion Auth0/Identity.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public class Identity: NSObject, JSONObjectPayload {
return "<identity: \(identifier) provider: \(provider) connection: \(connection)>"
}

// 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
Expand Down
1 change: 0 additions & 1 deletion Auth0/OAuth2Grant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Auth0/Profile.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion Auth0/Request.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public struct Request<T, E: Auth0Error>: Requestable {
let logger: Logger?
let telemetry: Telemetry

// swiftlint:disable:next function_parameter_count
init(session: URLSession, url: URL, method: String, handle: @escaping (Response<E>, Callback) -> Void, payload: [String: Any] = [:], headers: [String: String] = [:], logger: Logger?, telemetry: Telemetry) {
self.session = session
self.url = url
Expand Down
1 change: 0 additions & 1 deletion Auth0/_ObjectiveManagementAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d596679

Please sign in to comment.