Classes
The following classes are available globally.
-
Error that gets created when the authorization flow exits with an error.
See moreDeclaration
Swift
@objc public class AuthorizationError : NSObject, Error -
Class for the OauthCapture that will launch a webview for the specified auth URL, open an ASWebAuthenticationSession for a specified OEM, and process the redirect from Connect
See moreDeclaration
Swift
@objcMembers @MainActor public class OauthCapture : NSObject, WKScriptMessageHandler, WKNavigationDelegateextension OauthCapture: ASWebAuthenticationPresentationContextProviding -
A builder used for generating Smartcar Connect authorization URLs. Use the built string with `SmartcarAuth.launchAuthFlow(…) To see a full description of Smartcar Connect parameters, see the Smartcar API Reference
See moreDeclaration
Swift
@objcMembers public class SCUrlBuilder : NSObject -
Smartcar Authentication SDK for iOS written in Swift 5. - Facilitates the authorization flow to launch the flow and retrieve an authorization code
See moreDeclaration
Swift
@objcMembers public class SmartcarAuth : NSObject -
VehicleInfo class is used to describe the vehicle information that may be returned via query parameters in the case of authentication failure.
See moreDeclaration
Swift
@objcMembers public class VehicleInfo : NSObject
Classes Reference