AddCredentials

data class AddCredentials @JvmOverloads constructor(val authorizationCode: String, val market: String, val scope: List<Scope> = emptyList(), val locale: Locale = Locale.getDefault(), val sessionId: String = "", val inputProvider: String = "", val inputUsername: String = "") : RequestType

This class contains all the request parameters for the account aggregation with continuous access.

Parameters

authorizationCode

The created USER_AUTHORIZATION_CODE (see generating a user authorization code.

market

The market code for which providers should be listed.

scope

Scope A comma separated list of OAuth scopes. For adding more scopes, please refer to authorization-scopes.

locale

Locale Locale to be used for end-user facing text.

sessionId

Initialize Tink Link with a session to securely configure and pre-fill data in Tink Link. Learn more about using Tink Link sessions here.

inputProvider

The unique name of the provider (eg. sbab-bankid). If this is provided, the provider will be chosen for the user. If not, the user can choose the provider in a list. If the given parameter is not a valid provider, the user will see an error screen, so make sure you have the correct provider name from this endpoint.

inputUsername

Pre-fills the username field for supported providers. Providing this makes most sense if the username is a general username, valid for multiple banks (like a SSN).

Constructors

Link copied to clipboard
constructor(authorizationCode: String, market: Market, scope: List<Scope> = emptyList(), locale: Locale = Locale.getDefault(), sessionId: String = "", inputProvider: String = "", inputUsername: String = "")
constructor(authorizationCode: String, market: String, scope: List<Scope> = emptyList(), locale: Locale = Locale.getDefault(), sessionId: String = "", inputProvider: String = "", inputUsername: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard