TinkMoneyManagerUI Documentation Beta

Structure Tink.​Configuration

public struct Configuration: TinkCore.Configuration

Configuration used to set up the Tink

Tink.Configuration Tink.Configuration TinkCore.Configuration TinkCore.Configuration Tink.Configuration->TinkCore.Configuration

Member Of

Tink

The Tink class encapsulates a connection to the Tink API.

Conforms To

TinkCore.Configuration

Initializers

init(client​ID:​environment:​certificate​URL:​)

@available(*, deprecated, message: "Use TinkMoneyManagerConfiguration(clientID:environment:certificateURL:) instead.") public init(clientID: String, environment: TinkCore.Environment = .production, certificateURL: URL? = nil) throws

Creates a Configuration for Tink Money Manager.

Parameters

client​ID String

The client id for your app.

environment Tink​Core.​Environment

The environment to use, defaults to production.

certificate​URL URL?

URL to a certificate file to use with the API.

init(client​ID:​app​URI:​environment:​certificate​URL:​)

public init(clientID: String, appURI: URL? = nil, environment: Environment = .production, certificateURL: URL? = nil)

Parameters

client​ID String

The client id for your app.

app​URI URL?

The URI you've setup in Console.

environment Environment

The environment to use, defaults to production.

certificate​URL URL?

URL to a certificate file to use with the API.

init(client​ID:​redirect​URI:​environment:​certificate​URL:​)

public init(clientID: String, redirectURI: URL, environment: Environment = .production, certificateURL: URL? = nil) throws

Parameters

client​ID String

The client id for your app.

redirect​URI URL

The URI you've setup in Console.

environment Environment

The environment to use, defaults to production.

certificate​URL URL?

URL to a certificate file to use with the API.

init(client​ID:​redirect​URI:​environment:​grpc​Certificate​URL:​rest​Certificate​URL:​)

@available(*, deprecated, message: "Use init(clientID:redirectURI:environment:certificateURL:) instead") public init(clientID: String, redirectURI: URL, environment: Environment = .production, grpcCertificateURL: URL? = nil, restCertificateURL: URL? = nil) throws

Parameters

client​ID String

The client id for your app.

redirect​URI URL

The URI you've setup in Console.

environment Environment

The environment to use, defaults to production.

grpc​Certificate​URL URL?

URL to a certificate file to use with the gRPC API.

rest​Certificate​URL URL?

URL to a certificate file to use with the REST API.

Properties

client​ID

var clientID: String

The client id for your app.

redirect​URI

var redirectURI: URL

The URI you've setup in Console.

app​URI

var appURI: URL?

environment

var environment: Environment

The environment to use.

certificate​URL

var certificateURL: URL?

Certificate to use with the API.

rest​Certificate​URL

var restCertificateURL: URL?

Certificate to use with the API.