AI-generated Key Takeaways
-
GMTDAuthorizationContext is an immutable object used for fetching authentication tokens.
-
It requires a
vehicleID
, which is a non-nullable string, representing the ID of the vehicle. -
It can optionally take a
taskID
, which is a nullable string, representing the ID of the task. -
This class does not have any public initializers, therefore you cannot create instances through the
-init
method.
GMTDAuthorizationContext
@interface GMTDAuthorizationContext : GMTSImmutableData
An immutable object representing the context needed to fetch an auth token.
-
The ID of the vehicle to fetch an auth token for.
Declaration
Swift
var vehicleID: String { get }
Objective-C
@property (nonatomic, readonly) GMTDFleetEngineIDString *_Nonnull vehicleID;
-
The ID of the task to fetch an auth token for.
Declaration
Swift
var taskID: String? { get }
Objective-C
@property (nonatomic, readonly, nullable) GMTDFleetEngineIDString *taskID;
-
Unavailable
This class has no public initializers.
Declaration
Objective-C
- (null_unspecified instancetype)init;