Credentials

data class Credentials @JvmOverloads constructor(val connectionId: ConnectionId, val userId: String? = null, val password: String? = null, val connectionData: ConnectionData? = null)

User credentials for a given service connection.

Which fields are required depends on the connection's CredentialsModel; the service may still interact with the user (dialog / redirect) even when credentials are provided.

Constructors

Link copied to clipboard
constructor(connectionId: ConnectionId, userId: String? = null, password: String? = null, connectionData: ConnectionData? = null)

Properties

Link copied to clipboard

Opaque data from a previous successful flow, used to reuse an established consent without re-prompting the user.

Link copied to clipboard

Service connection to authenticate against.

Link copied to clipboard

User secret, e.g. online-banking password or PIN.

Link copied to clipboard

User identifier, e.g. login name or online-banking PIN.