FederatedAuthProvider

protocol FederatedAuthProvider : NSObjectProtocol

Utility class for constructing federated auth provider credentials.

  • Used to obtain an auth credential via a mobile web flow.

    Declaration

    Swift

    func getCredentialWith(_ UIDelegate: AuthUIDelegate?, completion: AuthCredentialCallback? = nil)

    Parameters

    UIDelegate

    An optional UI delegate used to presenet the mobile web flow.

    completion

    Optionally; a block which is invoked asynchronously on the main thread when the mobile web flow is completed.