# GoogleRidesharingDriver Framework Reference

# GMTDAuthorizationContext

    @interface GMTDAuthorizationContext : https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTSImmutableData.html

An immutable object representing the context needed to fetch an auth token.
- `


  ### [vehicleID](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDAuthorizationContext#/c:objc(cs)GMTDAuthorizationContext(py)vehicleID)


  ` The ID of the vehicle to fetch an auth token for.

  #### Declaration

  Swift

      var vehicleID: String { get }

  Objective-C

      @property (nonatomic, readonly) https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Type-Definitions/GMTDFleetEngineIDString.html *_Nonnull vehicleID;

- `


  ### [taskID](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDAuthorizationContext#/c:objc(cs)GMTDAuthorizationContext(py)taskID)


  ` The ID of the task to fetch an auth token for.

  #### Declaration

  Swift

      var taskID: String? { get }

  Objective-C

      @property (nonatomic, readonly, nullable) https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Type-Definitions/GMTDFleetEngineIDString.html *taskID;

- `


  ### [-init](https://developers.google.com/maps/documentation/mobility/driver-sdk/scheduled/reference/ios/Classes/GMTDAuthorizationContext#/c:objc(cs)GMTDAuthorizationContext(im)init)


  ` Unavailable
  This class has no public initializers.

  #### Declaration

  Objective-C

      - (null_unspecified instancetype)init;