MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
Instance Methods | Properties | List of all members
MPBookingAuthConfig Class Reference

Booking authentication configuration model. This may be used if the MPBookingService should book on behalf of an authenticated user. More...

#include <MPBookingAuthConfig.h>

Inheritance diagram for MPBookingAuthConfig:

Instance Methods

(instancetype) - NS_UNAVAILABLE
 
(instancetype) - initWithAccessToken:
 

Properties

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.
 

Detailed Description

Booking authentication configuration model. This may be used if the MPBookingService should book on behalf of an authenticated user.

Method Documentation

◆ initWithAccessToken:

- (instancetype) initWithAccessToken: (NSString *) accessToken

Constructor that takes an access token

Parameters
accessTokenThe access token to use when performing bookings.

◆ NS_UNAVAILABLE

- (instancetype) NS_UNAVAILABLE

Property Documentation

◆ accessToken

- (NSString*) accessToken
readwritenonatomicstrong

Set the access token that must be used when performing bookings.

◆ tenantId

- (NSString*) tenantId
readwritenonatomicstrong

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.