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
-
A builder used for generating Smartcar Connect authorization URLs. Use the built string with
See moreSmartcarAuth.launchAuthFlow(...)
in iOS 10 and under orSmartcarAuth.launchWebAuthSession(...)
in iOS 11 and above To see a full description of Smartcar Connect parameters, see the Smartcar API ReferenceDeclaration
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
extension SmartcarAuth: ASWebAuthenticationPresentationContextProviding
-
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