File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,8 @@ - (void)setClientID:(NSString *)aClientID
252
252
keyChainGroup : (NSString *)aKeyChainGroup
253
253
forAccountType : (NSString *)anAccountType ;
254
254
{
255
+ NSAssert (!aKeyChainGroup, @" keyChainGroup must be non-nil" );
256
+
255
257
[self setConfiguration: [NSDictionary dictionaryWithObjectsAndKeys:
256
258
aClientID, kNXOAuth2AccountStoreConfigurationClientID ,
257
259
aSecret, kNXOAuth2AccountStoreConfigurationSecret ,
@@ -273,6 +275,9 @@ - (void)setClientID:(NSString *)aClientID
273
275
tokenType : (NSString *)aTokenType
274
276
forAccountType : (NSString *)anAccountType ;
275
277
{
278
+ NSAssert (!aKeyChainGroup, @" keyChainGroup must be non-nil" );
279
+ NSAssert (!aTokenType, @" tokenType must be non-nil" );
280
+
276
281
[self setConfiguration: [NSDictionary dictionaryWithObjectsAndKeys:
277
282
aClientID, kNXOAuth2AccountStoreConfigurationClientID ,
278
283
aSecret, kNXOAuth2AccountStoreConfigurationSecret ,
You can’t perform that action at this time.
0 commit comments