Skip to content

Commit 7a9d8e7

Browse files
committed
Register reponse in json factory.
1 parent da74bc5 commit 7a9d8e7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

IdentityCore/src/broker_operation/response/browser_native_message_response/MSIDBrowserNativeMessageGetSupportedContractsResponse.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,18 @@
2525

2626
#import "MSIDBrowserNativeMessageGetSupportedContractsResponse.h"
2727
#import "MSIDJsonSerializableTypes.h"
28+
#import "MSIDJsonSerializableFactory.h"
2829

2930
NSString *const MSID_BROWSER_NATIVE_MESSAGE_SUPPORTED_CONTRACTS_KEY = @"contracts";
3031
NSString *const MSID_BROWSER_NATIVE_MESSAGE_SUPPORTED_CONTRACTS_DIVIDER = @",";
3132

3233
@implementation MSIDBrowserNativeMessageGetSupportedContractsResponse
3334

35+
+ (void)load
36+
{
37+
[MSIDJsonSerializableFactory registerClass:self forClassType:self.responseType];
38+
}
39+
3440
+ (NSString *)responseType
3541
{
3642
return MSID_JSON_TYPE_BROKER_OPERATION_BROWSER_NATIVE_GET_SUPPORTED_CONTRACTS_RESPONSE;

0 commit comments

Comments
 (0)