OAuth2CustomAuthorizer
public class OAuth2CustomAuthorizer: OAuth2CustomAuthorizerUI
An iOS and tvOS-specific implementation of the OAuth2CustomAuthorizerUI protocol which modally presents the login controller.
-
Undocumented
Declaration
Swift
public class OAuth2CustomAuthorizer: OAuth2CustomAuthorizerUI
-
Modally present the login controller from the given context.
Declaration
Swift
public func present(loginController: AnyObject, fromContext context: AnyObject?, animated: Bool) throwsParameters
loginControllerThe controller to present modally.
contextThe parent controller to use to present the login controller.
animatedWhether the presentation should be animated.
-
Dismiss the presented login controller if any.
Declaration
Swift
public func dismissLoginController(animated: Bool)Parameters
animatedWhether the dismissal should be animated.
View on GitHub
Install in Dash
OAuth2CustomAuthorizer Class Reference