IPAuthenticationRequest

public class IPAuthenticationRequest : Codable

Represents the content of an authentication request Push Notification. Client applications should not create instances directly but rely on IPNotificationHandler to create a populate the instance. IPAuthenticationRequest is passed to IPAuthenticationViewController, which will decode the content, present appropriate UI to collect data and send results to server.

  • The id of the user the authentication request is for.

    Declaration

    Swift

    public let user_id: Int
  • The name of the application.

    Declaration

    Swift

    public let application_name: String
  • Used to create an onstance of IPAuthenticationRequest from Push Notification payload.

    Declaration

    Swift

    required public init(from decoder: Decoder) throws