AuthenticationInfo

data class AuthenticationInfo(val loginUri: Uri? = null, val loginIntent: PendingIntent? = null) : Parcelable

Stores information that will allow a client to start the authentication process for logging in to an eMSP.

TODO(IVI-8995): This data structure will likely change. It needs to be generic and allow different forms of authentication to be possible. Finalize generic authentication API based on learnings from eMSP integration work.

Constructors

Link copied to clipboard
fun AuthenticationInfo(loginUri: Uri? = null, loginIntent: PendingIntent? = null)

Properties

Link copied to clipboard
val loginIntent: PendingIntent? = null

An Android PendingIntent to launch to start the login process for this eMSP. This should be used if the eMSP service has, for example, web-based authentication to allow the end-user to login to their service. null if no PendingIntent is needed to launch the authentication process for this eMSP.

Link copied to clipboard
val loginUri: Uri? = null

The URI that should be used for logging in to the eMSP, if relevant.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)