Classes
The following classes are available globally.
-
ACActiveSession describes a currently active IAMPASS session. Instances of this class are created in response to calls to IPUser.get_active_sessions. A session is considered active if the user has been authenticated and not logged out. ACActiveSession can be used to display and end a user’s sessions.
See moreDeclaration
Swift
public class IPActiveSession : Decodable
-
Undocumented
See moreDeclaration
Swift
public class IPAppearance
-
Represents the status of an IAMPASS session. The status property can be used to verify the state of the session. The refreshStatus method should be called to update the session status.
See moreDeclaration
Swift
public class IPAuthenticationSession : Decodable, Encodable
-
Defines the result of calling IPAuthenticationAPI.startAuthentication
See moreDeclaration
Swift
public class IPAuthenticateUserResponse : Decodable
-
IPAuthenticationAPI provides methods for initiating authentication requests.
See moreDeclaration
Swift
public class IPAuthenticationAPI
-
Represents the content of an authentication request Push Notification. Client applications should not create instances directly but rely on
See moreIPNotificationHandler
to create a populate the instance. IPAuthenticationRequest is passed toIPAuthenticationViewController
, which will decode the content, present appropriate UI to collect data and send results to server.Declaration
Swift
public class IPAuthenticationRequest : Codable
-
The Management API provides utility methods for managing IAMPASS applications. The API is used for managing users.
See moreDeclaration
Swift
public class IPManagementAPI
-
IPNotification handler parses the content of a push notification and extracts IAMPASS information. If the push notification is an IAMPASSauthentication request the delegat’s presentAuthenticationUI is called with the decoded authentication request and the device that the request is for. The client should call the processNotification method when it receives a push notification.
See moreDeclaration
Swift
public class IPNotificationHandler
-
Represents the status of an IAMPASS session. When the status of a session changes, IAMPASS sends a Push Notification to the application.
See moreIPNotificationHandler
creates an instance of this class and calls its delegate with the session status. The application can update its UI to notify the user that the status of the session has change.Declaration
Swift
open class IPSessionStatus : Decodable
-
Class the represents an IAMPASS User. Instances of this class contain the information required to communicate with IAMPASS on behalf the of the device user. The client applicaton is responsible for storing the IPUser data for the user accounts registered with their app. IPUser data can be serialized as JSON and store/read from a secure location, for example the device key chain.
See moreDeclaration
Swift
@objc open class IPUser : NSObject, Codable
-
View controller for the the acceptance part of the authentication process. The IAMPASS Framework includes a default UI for this authentication stage. IPAcceptanceViewControllers are created by
See moreIPAuthenticationViewController
. A custom UI can be provided by creating a nib file containing anIPAcceptanceViewController
and set the values ofIPAuthenticationViewController.acceptanceBundleIdentifier
andIPAuthenticationViewController.acceptanceNibName
.Declaration
Swift
open class IPAcceptanceViewController : UIViewController
-
View controller that controls the authentication process. The IAMPASS framework provides a default UI for all stages of the. Applications can provide their own UI but must use this class to control the authentication process. Customization is achieved by providing Bundle and Nib informtion for each of the screens. The custom views must be instances or specializations of IAMPASS view controller classes
See moreDeclaration
Swift
open class IPAuthenticationViewController : UIViewController, IPAcceptanceViewControllerDelegate, IPOSViewControllerDelegate, IPFacialViewControllerDelegate, IPProximityViewControllerDelegate
-
Class used to display a ‘busy’ screen, which is displayed when the application is performing a lengthy task. Client applications can use this class to create a custom busy UI. Create a new view controller in Interface Builder, then set the Custom Class property to IPBusyViewController in the Identity Inspoector. The bundle identifier and nib containing the view can then be used with
See moreIPAuthenticationViewController.authenticatingBundleIdentifier
andIPAuthenticationViewController.authenticatingNibName
to display the view.Declaration
Swift
open class IPBusyViewController : UIViewController
-
A view controller that collects images of the user’s face.
See moreDeclaration
Swift
public class IPFacialViewController : IPCaptureFaceViewController
-
View controller for performing OS authentication. ACOSViewControllers are created by
See moreIPAuthenticationViewController
. A custom UI can be provided by creating a nib file containing anIPOSViewController
and set the values ofIPAuthenticationViewController.osBundleIdentifier
andIPAuthenticationViewController.osNibName
.Declaration
Swift
public class IPOSViewController : UIViewController
-
View controller used to detect proximity when it is required by an Authentication Request. A custom UI can be provided by creating a nib file containing an
See moreIPProximityViewController
and set the values ofIPAuthenticationViewController.proximityBundleIdentifier
andIPAuthenticationViewController.proximityNibName
.Declaration
Swift
public class IPProximityViewController : UIViewController, ProximityDelegate
-
View controller that informs the user that training is required. IAMPASS includes a default UI for this view controller. A custom UI can be provided by creating a nib file containing an IPTrainingRequiredViewController and set the values of
See moreIPTrainingViewController.instructionsBundleIdentifier
andIPTrainingViewController.instructionsNibName
.Declaration
Swift
open class IPTrainingRequiredViewController : UIViewController
-
View controller used for the training process. The view controller has several views which are displayed depending upon the training that needs to be performed. In addition the following views are controller:
- Instructions view is displayed prior to training and a status view which displays the result
- Busy view is displayed while training data is being processed.
- Status view is displayed to report the result of the training process.
Declaration
Swift
open class IPTrainingViewController : UIViewController