PatronConfiguration
public final class PatronConfiguration
Class to manage API configuration All configuration value will be set from client app where the SDK is manage the logic inside
-
Appname can be access outside
Declaration
Swift
public var appName: String? -
App version can be access outside
Declaration
Swift
public var appVersion: String? -
API endpoint base url combine
Declaration
Swift
public func getApiUrl() -> String -
Auth url endpoint. Use for authentication only
Declaration
Swift
public func getAuthUrl() -> String -
This is for credential params. This is for get only to use from the app
Declaration
Swift
public func getCredentialParam() -> (String, String) -
This is to response enforcementX param string
Declaration
Swift
public func enforcementXParam() -> String -
This is for class builder to build the API endpoint from its parts.
See moreDeclaration
Swift
public class Builder
PatronConfiguration Class Reference