Booking authentication configuration model. This may be used if the MPBookingService
should book on behalf of an authenticated user.
More...
#include <MPBookingAuthConfig.h>
|
NSString * | accessToken |
| Set the access token that must be used when performing bookings.
|
|
NSString * | tenantId |
| Set the tenant id that must be used when performing bookings. This is relevant in scenarios where a location can be booked in more than one tenant.
|
|
Booking authentication configuration model. This may be used if the MPBookingService
should book on behalf of an authenticated user.
◆ initWithAccessToken:
- (instancetype) initWithAccessToken: |
|
(NSString *) | accessToken |
|
Constructor that takes an access token
- Parameters
-
accessToken | The access token to use when performing bookings. |
◆ NS_UNAVAILABLE
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ accessToken
- (NSString*) accessToken |
|
readwritenonatomicstrong |
Set the access token that must be used when performing bookings.
◆ tenantId
Set the tenant id that must be used when performing bookings. This is relevant in scenarios where a location can be booked in more than one tenant.