TNLaunchAuthFlowResponse
@objcMembers
public class TNLaunchAuthFlowResponse : TNDriveMotionResponseBase
A response class for the launch authorization flow.
This class represents the response received after attempting to launch an authorization flow. It contains the success status of the flow and any associated authorization error if the flow failed.
- Attributes:
success
: A boolean value indicating whether the authorization flow was successful.authorizationError
: An optionalAuthorizationError
containing details about any error that occurred during the authorization process.
-
A boolean value indicating whether the authorization flow was successful.
Declaration
Swift
public let success: Bool
-
An optional
AuthorizationError
that contains details about any error encountered during the authorization process.Declaration
Swift
public let authorizationError: TNAuthorizationError?
-
Undocumented
Declaration
Swift
public init(status: TNResponseStatus, message: String? = nil, success: Bool, authorizationError: TNAuthorizationError? = nil)
-
Undocumented
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Undocumented
Declaration
Swift
public override func encode(to encoder: Encoder) throws