TNLaunchAuthFlowRequest
@objcMembers
public class TNLaunchAuthFlowRequest : TNDriveMotionRequest
A request class for launching an authentication flow.
This class is used to initiate a request to start the authorization flow for a vehicle based on either its Vehicle Identification Number (VIN) or make.
- Attributes:
vin: An optional VIN of the vehicle. If provided, the request will use the VIN to identify the vehicle.make: An optional make of the vehicle. If provided, the request will use the make to identify the vehicle.viewController: TheUIViewControllerresponsible for presenting the authorization flow.
-
The VIN (Vehicle Identification Number) of the vehicle for the authorization request.
Declaration
Swift
public let vin: String? -
The make of the vehicle for the authorization request.
Declaration
Swift
public let make: String? -
The view controller that will present the authorization flow.
Declaration
Swift
public let viewController: UIViewController -
Returns a builder for creating a
TNLaunchAuthFlowRequestinstance using the VIN.Declaration
Swift
public static func byVinBuilder() -> TNLaunchAuthFlowRequestByVinBuilderReturn Value
A
TNLaunchAuthFlowRequestByVinBuilderfor constructing the request with VIN. -
Returns a builder for creating a
TNLaunchAuthFlowRequestinstance using the make.Declaration
Swift
public static func byMakeBuilder() -> TNLaunchAuthFlowRequestByMakeBuilderReturn Value
A
TNLaunchAuthFlowRequestByMakeBuilderfor constructing the request with make.