MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPBookingAuthConfig.h
Go to the documentation of this file.
1//
2// MPBookingAuthConfig.h
3// MapsIndoors
4//
5// Created by Daniel Nielsen on 21/09/2021.
6// Copyright © 2021 MapsPeople A/S. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11NS_ASSUME_NONNULL_BEGIN
12
14@interface MPBookingAuthConfig : NSObject
15- (instancetype)init NS_UNAVAILABLE;
16
19- (instancetype)initWithAccessToken:(NSString*)accessToken;
20
22@property (nonatomic, strong) NSString* accessToken;
23
25@property (nonatomic, strong, nullable) NSString* tenantId;
26
27@end
28
29NS_ASSUME_NONNULL_END
Booking authentication configuration model. This may be used if the MPBookingService should book on b...
Definition MPBookingAuthConfig.h:15
NSString * tenantId
Set the tenant id that must be used when performing bookings. This is relevant in scenarios where a l...
Definition MPBookingAuthConfig.h:25
instancetype NS_UNAVAILABLE()
NSString * accessToken
Set the access token that must be used when performing bookings.
Definition MPBookingAuthConfig.h:22