Classes

The following classes are available globally.

  • Error that gets created when the authorization flow exits with an error.

    See more

    Declaration

    Swift

    @objc
    public class AuthorizationError : NSObject, Error
  • A builder used for generating Smartcar Connect authorization URLs. Use the built string with SmartcarAuth.launchAuthFlow(...) in iOS 10 and under or SmartcarAuth.launchWebAuthSession(...) in iOS 11 and above To see a full description of Smartcar Connect parameters, see the Smartcar API Reference

    See more

    Declaration

    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 more

    Declaration

    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 more

    Declaration

    Swift

    @objcMembers
    public class VehicleInfo : NSObject