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
: TheUIViewController
responsible 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
TNLaunchAuthFlowRequest
instance using the VIN.Declaration
Swift
public static func byVinBuilder() -> TNLaunchAuthFlowRequestByVinBuilder
Return Value
A
TNLaunchAuthFlowRequestByVinBuilder
for constructing the request with VIN. -
Returns a builder for creating a
TNLaunchAuthFlowRequest
instance using the make.Declaration
Swift
public static func byMakeBuilder() -> TNLaunchAuthFlowRequestByMakeBuilder
Return Value
A
TNLaunchAuthFlowRequestByMakeBuilder
for constructing the request with make.