GoogleRidesharingConsumer Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
GMTCAuthorizationContext
An immutable object representing the context needed to fetch an auth token.
-
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;
-
This class has no public initializers.
Declaration
Objective-C
- (null_unspecified instancetype)init;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-27 UTC.
[null,null,["Last updated 2025-08-27 UTC."],[[["\u003cp\u003eGMTCAuthorizationContext is an immutable object used to retrieve an authentication token.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etripID\u003c/code\u003e property provides the ID of the trip for which the auth token is needed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etripID\u003c/code\u003e property is a read-only string.\u003c/p\u003e\n"],["\u003cp\u003eThis class cannot be initialized directly, as it does not offer any public initializers.\u003c/p\u003e\n"]]],[],null,["# GoogleRidesharingConsumer Framework Reference\n\nGMTCAuthorizationContext\n========================\n\n @interface GMTCAuthorizationContext : ../Classes/GMTCImmutableData.html\n\nAn immutable object representing the context needed to fetch an auth token.\n- `\n ``\n ``\n `\n\n ### [tripID](#/c:objc(cs)GMTCAuthorizationContext(py)tripID)\n\n `\n ` \n The ID of the trip to fetch an auth token for. \n\n #### Declaration\n\n Swift \n\n var tripID: String { get }\n\n Objective-C \n\n @property (nonatomic, readonly) NSString *_Nonnull tripID;\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)GMTCAuthorizationContext(im)init)\n\n `\n ` \n Unavailable \n This class has no public initializers. \n\n #### Declaration\n\n Objective-C \n\n - (null_unspecified instancetype)init;"]]