File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
broker_operation/request/token_request Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ NS_ASSUME_NONNULL_BEGIN
4343@property (nonatomic , nullable ) MSIDClaimsRequest *claimsRequest;
4444@property (nonatomic ) NSDate *requestSentDate;
4545@property (nonatomic ) NSString *nonce;
46+ @property (nonatomic ) NSString *webPageUri;
4647@property (nonatomic , nullable ) NSString *accountHomeTenantId;
4748@property (nonatomic , nullable ) NSString *clientSku;
4849@property (nonatomic ) BOOL skipValidateResultAccount;
Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ + (BOOL)fillRequest:(MSIDBrokerOperationTokenRequest *)request
6161 request.claimsRequest = parameters.claimsRequest ;
6262 request.requestSentDate = requestSentDate;
6363 request.nonce = parameters.nonce ;
64+ request.webPageUri = parameters.webPageUri ;
6465 request.clientSku = parameters.clientSku ;
6566 request.skipValidateResultAccount = parameters.skipValidateResultAccount ;
6667 request.forceRefresh = parameters.forceRefresh ;
@@ -79,6 +80,8 @@ - (instancetype)initWithJSONDictionary:(NSDictionary *)json error:(NSError *__au
7980 _configuration = [[MSIDConfiguration alloc ] initWithJSONDictionary: json error: error];
8081 if (!_configuration) return nil ;
8182
83+ _webPageUri = [json msidStringObjectForKey: @" web_page_uri" ];
84+
8285 _providerType = MSIDProviderTypeFromString ([json msidStringObjectForKey: MSID_PROVIDER_TYPE_JSON_KEY]);
8386
8487 _oidcScope = [json msidStringObjectForKey: MSID_BROKER_EXTRA_OIDC_SCOPES_KEY];
@@ -135,6 +138,7 @@ - (NSDictionary *)jsonDictionary
135138 }
136139
137140 [json addEntriesFromDictionary: configurationJson];
141+ json[@" web_page_uri" ] = self.webPageUri ;
138142 json[MSID_PROVIDER_TYPE_JSON_KEY] = MSIDProviderTypeToString (self.providerType );
139143 json[MSID_BROKER_EXTRA_OIDC_SCOPES_KEY] = self.oidcScope ;
140144 json[MSID_BROKER_EXTRA_QUERY_PARAM_KEY] = [self .extraQueryParameters msidWWWFormURLEncode ];
Original file line number Diff line number Diff line change 4848@property (nonatomic ) MSIDAuthority *providedAuthority;
4949@property (nonatomic ) MSIDAuthority *cloudAuthority;
5050@property (nonatomic ) NSString *redirectUri;
51+ @property (nonatomic ) NSString *webPageUri;
5152@property (nonatomic ) NSString *clientId;
5253@property (nonatomic ) NSString *target;
5354@property (nonatomic ) NSString *oidcScope;
You can’t perform that action at this time.
0 commit comments