SelectIdPCallback

public class SelectIdPCallback : SingleValueCallback

SelectIdPCallback is a representation of AM’s Select Identity Provider Node to select a specific Identity Provider from given options (local authentication, or list of social login providers)

Properties

  • An array of Identity Provider value

    Declaration

    Swift

    public var providers: [IdPValue]

Init

  • Designated initialization method for SelectIdPCallback

    Throws

    AuthError.invalidCallbackResponse for invalid callback response

    Declaration

    Swift

    public required init(json: [String : Any]) throws

    Parameters

    json

    JSON object of SelectIdPCallback

Public

  • Sets a given provider to Callback input

    Declaration

    Swift

    public func setProvider(provider: IdPValue)

    Parameters

    provider

    IdPValue to continue the authentication tree flow