DerivedLoginScreen

@objc public class DerivedLoginScreen : UIViewController

A customizable UIViewController that enables the user to authenticate.

Implementors should extend this class, override the loginComplete method, while still calling the superclass method.

  • Method to override when the callback has completed. This can be a success or failure callback. The CredentialSet will have all the relevant credentials to login to the app.

    Parameter

    Parameter wasSuccess: A boolean indicating if the process was a success

    Parameter

    Parameter credential: the credential set for login

    Returns

    A boolean value of true if the superclass handled the callback. A value of false if the subclass should handle it.

    Declaration

    Swift

    public func loginComplete(wasSuccess: Bool, credential: CredentialSet?) -> Bool