# GoogleRidesharingConsumer Framework Reference

# GMTCAuthorizationContext

    @interface GMTCAuthorizationContext : https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCImmutableData.html

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


  ### [tripID](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCAuthorizationContext#/c:objc(cs)GMTCAuthorizationContext(py)tripID)


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

  #### Declaration

  Swift

      var tripID: String { get }

  Objective-C

      @property (nonatomic, readonly) NSString *_Nonnull tripID;

- `


  ### [-init](https://developers.google.com/maps/documentation/mobility/journey-sharing/on-demand/reference/ios/Classes/GMTCAuthorizationContext#/c:objc(cs)GMTCAuthorizationContext(im)init)


  ` Unavailable
  This class has no public initializers.

  #### Declaration

  Objective-C

      - (null_unspecified instancetype)init;