iOS SDK - Authentication Objects

DOCS

Last updated: Aug 15th, 8:07am

Authentication Domain Objects

PDAuthenticationAdditionalData

A custom property that is relevant for the login process as specified by specific issuers or external user repositories. Typically used in SSO implementations to gain access to the user profile.

PropertyDescription
additionalDataKeyString
The name of the metadata property that this object represents, for example, hostIP.
additionalDataValueString
The value ascribed to this property for the particular provisioned account, for example, 10.9.23.65.

Authentication Message Objects

PDLoginByFederatedIdentityRequest

This request object passes the values that allow a new wallet user to register a device with the Paydiant service via federated login to an external IDP (identity provider).

PropertyDescription
authorizationCodeString
A code assigned by the issuer to the user’s profile with the IDP app that allows Paydiant to access the new user’s profile through the SSO framework.
identityProviderString
The external party through which authentication of the user credentials is validated.
additionalDataArray
A set of PDAuthenticationAdditionalData instances passing property values required by the authenticating party.

PDLoginByNonceRequest

This request object passes the values that allow a new wallet user to register a device with the Paydiant service via nonce login to an external IDP (identity provider).

PropertyDescription
nonceString
A session token generated by the IDP to allow Paydiant to access the new user’s profile through the SSO framework.
additionalDataArray
A set of PDAuthenticationAdditionalData instances passing property values required by the authenticating party.

PDLoginResponse

Returned in the completion block of either the loginBY methods.

PropertyDescription
additionalDataArray
The set of PDAuthenticationAdditionalData instances representing properties relevant to the SSO authentication of the wallet device.

PDGenerateDeviceAuthenticationRequest

Passes the values required to create a device-specific authentication code maintained by the SDK for use in long-lived login sessions that facilitate device-level authentication such as Touch ID.

PropertyDescription
userNameString
In order to generate the device authentication token, the user must successfully enter the username (email) associated with the wallet.
passwordString
The user must also correctly enter the password corresponding to the username.