Skip to content

Commit

Permalink
renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
Velin92 committed Aug 23, 2023
1 parent d70e4c4 commit 9964bfe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MatrixSDK/JSONModels/Login/MXLoginSSOFlow.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extern NSString *const MXLoginSSOFlowIdentityProvidersKey;
List of all SSO Identity Providers supported
*/
@property (nonatomic, readonly) NSArray<MXLoginSSOIdentityProvider*> *identityProviders;
@property (atomic, readonly) BOOL isOIDC;
@property (atomic, readonly) BOOL delegatedOIDCCompatibility;

@end

Expand Down
4 changes: 2 additions & 2 deletions MatrixSDK/JSONModels/Login/MXLoginSSOFlow.m
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@interface MXLoginSSOFlow()

@property (nonatomic, readwrite) NSArray<MXLoginSSOIdentityProvider*> *identityProviders;
@property (atomic, readwrite) BOOL isOIDC;
@property (atomic, readwrite) BOOL delegatedOIDCCompatibility;

@end

Expand Down Expand Up @@ -52,7 +52,7 @@ + (instancetype)modelFromJSON:(NSDictionary *)JSONDictionary

loginFlow.identityProviders = identityProviders;

MXJSONModelSetBoolean(loginFlow.isOIDC, JSONDictionary[MXLoginSSOFlowDelegatedOIDCCompatibilityKey]);
MXJSONModelSetBoolean(loginFlow.delegatedOIDCCompatibility, JSONDictionary[MXLoginSSOFlowDelegatedOIDCCompatibilityKey]);
}

return loginFlow;
Expand Down

0 comments on commit 9964bfe

Please sign in to comment.