commit | author | age
|
2e29a3
|
1 |
// swift-interface-format-version: 1.0 |
L |
2 |
// swift-compiler-version: Apple Swift version 5.4 (swiftlang-1205.0.26.9 clang-1205.0.19.55) |
|
3 |
// swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name FBSDKLoginKit |
|
4 |
import FBSDKCoreKit |
|
5 |
@_exported import FBSDKLoginKit |
|
6 |
import Swift |
|
7 |
import UIKit |
|
8 |
@available(tvOS, unavailable) |
|
9 |
extension FBLoginButton { |
|
10 |
convenience public init(frame: CoreGraphics.CGRect = .zero, permissions: [FBSDKCoreKit.Permission] = [.publicProfile]) |
|
11 |
} |
|
12 |
extension LoginConfiguration { |
|
13 |
convenience public init?(permissions: Swift.Set<FBSDKCoreKit.Permission> = [], tracking: FBSDKLoginKit.LoginTracking = .enabled, nonce: Swift.String = UUID().uuidString, messengerPageId: Swift.String? = nil, authType: FBSDKLoginKit.LoginAuthType? = .rerequest) |
|
14 |
} |
|
15 |
@available(tvOS, unavailable) |
|
16 |
public typealias LoginResultBlock = (FBSDKLoginKit.LoginResult) -> Swift.Void |
|
17 |
@available(tvOS, unavailable) |
|
18 |
@frozen public enum LoginResult { |
|
19 |
case success(granted: Swift.Set<FBSDKCoreKit.Permission>, declined: Swift.Set<FBSDKCoreKit.Permission>, token: FBSDKCoreKit.AccessToken?) |
|
20 |
case cancelled |
|
21 |
case failed(Swift.Error) |
|
22 |
} |
|
23 |
@available(tvOS, unavailable) |
|
24 |
extension LoginManager { |
|
25 |
convenience public init(defaultAudience: FBSDKLoginKit.DefaultAudience = .friends) |
|
26 |
public func logIn(permissions: [FBSDKCoreKit.Permission] = [.publicProfile], viewController: UIKit.UIViewController? = nil, completion: FBSDKLoginKit.LoginResultBlock? = nil) |
|
27 |
public func logIn(viewController: UIKit.UIViewController? = nil, configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) |
|
28 |
public func logIn(configuration: FBSDKLoginKit.LoginConfiguration, completion: @escaping FBSDKLoginKit.LoginResultBlock) |
|
29 |
} |