GoogleRidesharingDriver Framework Reference

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;