OAuth2CustomAuthorizer

public class OAuth2CustomAuthorizer: OAuth2CustomAuthorizerUI

An iOS and tvOS-specific implementation of the OAuth2CustomAuthorizerUI protocol which modally presents the login controller.

  • Modally present the login controller from the given context.

    Declaration

    Swift

    public func present(loginController: AnyObject, fromContext context: AnyObject?, animated: Bool) throws

    Parameters

    loginController

    The controller to present modally.

    context

    The parent controller to use to present the login controller.

    animated

    Whether the presentation should be animated.

  • Dismiss the presented login controller if any.

    Declaration

    Swift

    public func dismissLoginController(animated: Bool)

    Parameters

    animated

    Whether the dismissal should be animated.