Builder
public struct Builder
Builds a Gini SDK
-
Creates a Gini SDK
Declaration
Swift
public init(client: Client, api: APIDomain = .default, userApi: UserDomain = .default, logLevel: LogLevel = .none)Parameters
clientThe Gini API client credentials
apiThe Gini API that the sdk interacts with.
APIDomain.defaultby defaultuserApiThe Gini User API that the sdk interacts with.
UserDomain.defaultby defaultlogLevelThe log level.
LogLevel.noneby default. -
Creates a Gini SDK to be used with a transparent proxy and a custom api access token source.
Declaration
Swift
public init(customApiDomain: String, alternativeTokenSource: AlternativeTokenSource, logLevel: LogLevel = .none) -
Undocumented
Declaration
Swift
public func build() -> GiniSDK
View on GitHub
Builder Structure Reference