Skip to content

Commit 3c64ba4

Browse files
authored
Merge pull request #239 from AzureAD/jak/authority-fix
Change nonatomic properties to atomic in authorities
2 parents cc3ffb2 + ba81f6b commit 3c64ba4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

IdentityCore/src/validation/MSIDAuthority+Internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929

3030
@interface MSIDAuthority()
3131

32-
@property (nonatomic) MSIDOpenIdProviderMetadata *metadata;
33-
@property (nonatomic) NSURL *openIdConfigurationEndpoint;
32+
@property (atomic) MSIDOpenIdProviderMetadata *metadata;
33+
@property (atomic) NSURL *openIdConfigurationEndpoint;
3434

3535
- (id<MSIDAuthorityResolving>)resolver;
3636

IdentityCore/src/validation/MSIDAuthority.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ typedef void(^MSIDOpenIdConfigurationInfoBlock)(MSIDOpenIdProviderMetadata * _Nu
4141

4242
@property (class, readonly, nonnull) MSIDCache *openIdConfigurationCache;
4343

44-
@property (nonatomic, readonly, nonnull) NSURL *url;
44+
@property (readonly, nonnull) NSURL *url;
4545

46-
@property (nonatomic, readonly, nonnull) NSString *environment;
46+
@property (readonly, nonnull) NSString *environment;
4747

48-
@property (nonatomic, readonly, nullable) NSURL *openIdConfigurationEndpoint;
48+
@property (readonly, nullable) NSURL *openIdConfigurationEndpoint;
4949

50-
@property (nonatomic, readonly, nullable) MSIDOpenIdProviderMetadata *metadata;
50+
@property (readonly, nullable) MSIDOpenIdProviderMetadata *metadata;
5151

5252
- (instancetype _Nullable )init NS_UNAVAILABLE;
5353
+ (instancetype _Nullable )new NS_UNAVAILABLE;

0 commit comments

Comments
 (0)