Skip to content

Commit

Permalink
Merge pull request #6 from slashkeys/fix-result-access-level
Browse files Browse the repository at this point in the history
Add public init to FacebookAuth.Result
  • Loading branch information
slashmo authored Aug 14, 2017
2 parents ea297f9 + 088c277 commit a390cdf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions FacebookAuth/Base/FacebookAuth.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ public final class FacebookAuth: NSObject {
public let token: String?
public let error: FacebookAuth.Error?
public let granted: [FacebookAuth.Permission]?

public init(token: String?, error: FacebookAuth.Error?, granted: [FacebookAuth.Permission]?) {
self.token = token
self.error = error
self.granted = granted
}
}

public struct URLParser {
Expand Down

0 comments on commit a390cdf

Please sign in to comment.