OAuth2CustomAuthorizerUI
public protocol OAuth2CustomAuthorizerUI
Platform-dependent login presenters that present custom login views must adopt this protocol.
-
This function is responsible of the login controller presentation.
Declaration
Swift
func present(loginController: AnyObject, fromContext context: AnyObject?, animated: Bool) throwsParameters
loginControllerThe controller to present; the type is platform dependent
fromContextThe presenting context, typically another controller of platform-dependent type
animatedWhether the presentation should be animated
-
This function must dismiss the login controller.
Declaration
Swift
func dismissLoginController(animated: Bool)Parameters
animatedWhether the dismissal should be animated
View on GitHub
Install in Dash
OAuth2CustomAuthorizerUI Protocol Reference