ACAuthenticationRequest
public class ACAuthenticationRequest : Codable
Represents the content of an authentication request Push Notification.
Client applications should not create instances directly but rely on ACNotificationHandler
to create a populate the instance.
ACAuthenticationRequest is passed to ACAuthenticationViewController
, 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 ACAuthenticationRequest from Push Notification payload.
Declaration
Swift
required public init(from decoder: Decoder) throws