Structure
Tink.Configuration
public struct Configuration: TinkCore.Configuration
Configuration used to set up the Tink
Relationships
Member Of
Tink
The
Tink
class encapsulates a connection to the Tink API.
Conforms To
TinkCore.Configuration
Initializers
init(clientID:environment:certificateURL:)
@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
Name | Type | Description |
---|---|---|
clientID | String |
The client id for your app. |
environment | TinkCore.Environment |
The environment to use, defaults to production. |
certificateURL | URL? |
URL to a certificate file to use with the API. |
init(clientID:appURI:environment:certificateURL:)
public init(clientID: String, appURI: URL? = nil, environment: Environment = .production, certificateURL: URL? = nil)
Parameters
Name | Type | Description |
---|---|---|
clientID | String |
The client id for your app. |
appURI | URL? |
The URI you've setup in Console. |
environment | Environment |
The environment to use, defaults to production. |
certificateURL | URL? |
URL to a certificate file to use with the API. |
init(clientID:redirectURI:environment:certificateURL:)
public init(clientID: String, redirectURI: URL, environment: Environment = .production, certificateURL: URL? = nil) throws
Parameters
Name | Type | Description |
---|---|---|
clientID | String |
The client id for your app. |
redirectURI | URL |
The URI you've setup in Console. |
environment | Environment |
The environment to use, defaults to production. |
certificateURL | URL? |
URL to a certificate file to use with the API. |
init(clientID:redirectURI:environment:grpcCertificateURL:restCertificateURL:)
@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
Name | Type | Description |
---|---|---|
clientID | String |
The client id for your app. |
redirectURI | URL |
The URI you've setup in Console. |
environment | Environment |
The environment to use, defaults to production. |
grpcCertificateURL | URL? |
URL to a certificate file to use with the gRPC API. |
restCertificateURL | URL? |
URL to a certificate file to use with the REST API. |
Properties
clientID
var clientID: String
The client id for your app.
redirectURI
var redirectURI: URL
The URI you've setup in Console.
appURI
var appURI: URL?
certificateURL
var certificateURL: URL?
Certificate to use with the API.
restCertificateURL
var restCertificateURL: URL?
Certificate to use with the API.