@@ -182,8 +182,8 @@ instance ToJSON UserInfo where
183-- | Request to verify the password.
183-- | Request to verify the password.
185−-- /See:/ 'identitytoolkitRelyingPartyyVerifyPasswordRequest' smart constructor.
185+-- /See:/ 'identitytoolkitRelyingPartyVerifyPasswordRequest' smart constructor.
186−data IdentitytoolkitRelyingPartyyVerifyPasswordRequest = IdentitytoolkitRelyingPartyyVerifyPasswordRequest
186+data IdentitytoolkitRelyingPartyVerifyPasswordRequest = IdentitytoolkitRelyingPartyVerifyPasswordRequest
187 { _irpvprEmail :: !(Maybe Text)
187 { _irpvprEmail :: !(Maybe Text)
188 , _irpvprCaptchaChallenge :: !(Maybe Text)
188 , _irpvprCaptchaChallenge :: !(Maybe Text)
189 , _irpvprPassword :: !(Maybe Text)
189 , _irpvprPassword :: !(Maybe Text)
@@ -191,7 +191,7 @@ data IdentitytoolkitRelyingPartyyVerifyPasswordRequest = IdentitytoolkitRelyingP
191 , _irpvprPendingIdToken :: !(Maybe Text)
191 , _irpvprPendingIdToken :: !(Maybe Text)
192 } deriving (Eq,Read,Show,Data,Typeable,Generic)
192 } deriving (Eq,Read,Show,Data,Typeable,Generic)
194−-- | Creates a value of 'IdentitytoolkitRelyingPartyyVerifyPasswordRequest' with the minimum fields required to make a request.
194+-- | Creates a value of 'IdentitytoolkitRelyingPartyVerifyPasswordRequest' with the minimum fields required to make a request.
196-- Use one of the following lenses to modify other fields as desired:
196-- Use one of the following lenses to modify other fields as desired:
@@ -204,10 +204,10 @@ data IdentitytoolkitRelyingPartyyVerifyPasswordRequest = IdentitytoolkitRelyingP
204-- * 'irpvprCaptchaResponse'
204-- * 'irpvprCaptchaResponse'
206-- * 'irpvprPendingIdToken'
206-- * 'irpvprPendingIdToken'
207−identitytoolkitRelyingPartyyVerifyPasswordRequest
207+identitytoolkitRelyingPartyVerifyPasswordRequest
208− :: IdentitytoolkitRelyingPartyyVerifyPasswordRequest
208+ :: IdentitytoolkitRelyingPartyVerifyPasswordRequest
209−identitytoolkitRelyingPartyyVerifyPasswordRequest =
209+identitytoolkitRelyingPartyVerifyPasswordRequest =
210− IdentitytoolkitRelyingPartyyVerifyPasswordRequest
210+ IdentitytoolkitRelyingPartyVerifyPasswordRequest
211 { _irpvprEmail = Nothing
211 { _irpvprEmail = Nothing
212 , _irpvprCaptchaChallenge = Nothing
212 , _irpvprCaptchaChallenge = Nothing
213 , _irpvprPassword = Nothing
213 , _irpvprPassword = Nothing
@@ -216,53 +216,53 @@ identitytoolkitRelyingPartyyVerifyPasswordRequest =
218-- | The email of the user.
218-- | The email of the user.
219−irpvprEmail :: Lens' IdentitytoolkitRelyingPartyyVerifyPasswordRequest (Maybe Text)
219+irpvprEmail :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
220irpvprEmail
220irpvprEmail
221 = lens _irpvprEmail (\ s a -> s{_irpvprEmail = a})
221 = lens _irpvprEmail (\ s a -> s{_irpvprEmail = a})
223-- | The captcha challenge.
223-- | The captcha challenge.
224−irpvprCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartyyVerifyPasswordRequest (Maybe Text)
224+irpvprCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
225irpvprCaptchaChallenge
225irpvprCaptchaChallenge
226 = lens _irpvprCaptchaChallenge
226 = lens _irpvprCaptchaChallenge
227 (\ s a -> s{_irpvprCaptchaChallenge = a})
227 (\ s a -> s{_irpvprCaptchaChallenge = a})
229-- | The password inputed by the user.
229-- | The password inputed by the user.
230−irpvprPassword :: Lens' IdentitytoolkitRelyingPartyyVerifyPasswordRequest (Maybe Text)
230+irpvprPassword :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
231irpvprPassword
231irpvprPassword
232 = lens _irpvprPassword
232 = lens _irpvprPassword
233 (\ s a -> s{_irpvprPassword = a})
233 (\ s a -> s{_irpvprPassword = a})
235-- | Response to the captcha.
235-- | Response to the captcha.
236−irpvprCaptchaResponse :: Lens' IdentitytoolkitRelyingPartyyVerifyPasswordRequest (Maybe Text)
236+irpvprCaptchaResponse :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
237irpvprCaptchaResponse
237irpvprCaptchaResponse
238 = lens _irpvprCaptchaResponse
238 = lens _irpvprCaptchaResponse
239 (\ s a -> s{_irpvprCaptchaResponse = a})
239 (\ s a -> s{_irpvprCaptchaResponse = a})
241-- | The GITKit token for the non-trusted IDP, which is to be confirmed by
241-- | The GITKit token for the non-trusted IDP, which is to be confirmed by
242-- the user.
242-- the user.
243−irpvprPendingIdToken :: Lens' IdentitytoolkitRelyingPartyyVerifyPasswordRequest (Maybe Text)
243+irpvprPendingIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
244irpvprPendingIdToken
244irpvprPendingIdToken
245 = lens _irpvprPendingIdToken
245 = lens _irpvprPendingIdToken
246 (\ s a -> s{_irpvprPendingIdToken = a})
246 (\ s a -> s{_irpvprPendingIdToken = a})
248instance FromJSON
248instance FromJSON
249− IdentitytoolkitRelyingPartyyVerifyPasswordRequest
249+ IdentitytoolkitRelyingPartyVerifyPasswordRequest
251 parseJSON
251 parseJSON
252 = withObject
252 = withObject
253− "IdentitytoolkitRelyingPartyyVerifyPasswordRequest"
253+ "IdentitytoolkitRelyingPartyVerifyPasswordRequest"
255− IdentitytoolkitRelyingPartyyVerifyPasswordRequest <$>
255+ IdentitytoolkitRelyingPartyVerifyPasswordRequest <$>
256 (o .:? "email") <*> (o .:? "captchaChallenge") <*>
256 (o .:? "email") <*> (o .:? "captchaChallenge") <*>
257 (o .:? "password")
257 (o .:? "password")
258 <*> (o .:? "captchaResponse")
258 <*> (o .:? "captchaResponse")
259 <*> (o .:? "pendingIdToken"))
259 <*> (o .:? "pendingIdToken"))
261instance ToJSON
261instance ToJSON
262− IdentitytoolkitRelyingPartyyVerifyPasswordRequest
262+ IdentitytoolkitRelyingPartyVerifyPasswordRequest
265− IdentitytoolkitRelyingPartyyVerifyPasswordRequest{..}
265+ IdentitytoolkitRelyingPartyVerifyPasswordRequest{..}
267 (catMaybes
267 (catMaybes
268 [("email" .=) <$> _irpvprEmail,
268 [("email" .=) <$> _irpvprEmail,
@@ -273,15 +273,15 @@ instance ToJSON
274-- | Request to verify the IDP assertion.
274-- | Request to verify the IDP assertion.
276−-- /See:/ 'identitytoolkitRelyingPartyyVerifyAssertionRequest' smart constructor.
276+-- /See:/ 'identitytoolkitRelyingPartyVerifyAssertionRequest' smart constructor.
277−data IdentitytoolkitRelyingPartyyVerifyAssertionRequest = IdentitytoolkitRelyingPartyyVerifyAssertionRequest
277+data IdentitytoolkitRelyingPartyVerifyAssertionRequest = IdentitytoolkitRelyingPartyVerifyAssertionRequest
278 { _irpvarPostBody :: !(Maybe Text)
278 { _irpvarPostBody :: !(Maybe Text)
279 , _irpvarReturnRefreshToken :: !(Maybe Bool)
279 , _irpvarReturnRefreshToken :: !(Maybe Bool)
280 , _irpvarRequestURI :: !(Maybe Text)
280 , _irpvarRequestURI :: !(Maybe Text)
281 , _irpvarPendingIdToken :: !(Maybe Text)
281 , _irpvarPendingIdToken :: !(Maybe Text)
282 } deriving (Eq,Read,Show,Data,Typeable,Generic)
282 } deriving (Eq,Read,Show,Data,Typeable,Generic)
284−-- | Creates a value of 'IdentitytoolkitRelyingPartyyVerifyAssertionRequest' with the minimum fields required to make a request.
284+-- | Creates a value of 'IdentitytoolkitRelyingPartyVerifyAssertionRequest' with the minimum fields required to make a request.
286-- Use one of the following lenses to modify other fields as desired:
286-- Use one of the following lenses to modify other fields as desired:
@@ -292,10 +292,10 @@ data IdentitytoolkitRelyingPartyyVerifyAssertionRequest = IdentitytoolkitRelying
292-- * 'irpvarRequestURI'
292-- * 'irpvarRequestURI'
294-- * 'irpvarPendingIdToken'
294-- * 'irpvarPendingIdToken'
295−identitytoolkitRelyingPartyyVerifyAssertionRequest
295+identitytoolkitRelyingPartyVerifyAssertionRequest
296− :: IdentitytoolkitRelyingPartyyVerifyAssertionRequest
296+ :: IdentitytoolkitRelyingPartyVerifyAssertionRequest
297−identitytoolkitRelyingPartyyVerifyAssertionRequest =
297+identitytoolkitRelyingPartyVerifyAssertionRequest =
298− IdentitytoolkitRelyingPartyyVerifyAssertionRequest
298+ IdentitytoolkitRelyingPartyVerifyAssertionRequest
299 { _irpvarPostBody = Nothing
299 { _irpvarPostBody = Nothing
300 , _irpvarReturnRefreshToken = Nothing
300 , _irpvarReturnRefreshToken = Nothing
301 , _irpvarRequestURI = Nothing
301 , _irpvarRequestURI = Nothing
@@ -303,49 +303,48 @@ identitytoolkitRelyingPartyyVerifyAssertionRequest =
305-- | The post body if the request is a HTTP POST.
305-- | The post body if the request is a HTTP POST.
306−irpvarPostBody :: Lens' IdentitytoolkitRelyingPartyyVerifyAssertionRequest (Maybe Text)
306+irpvarPostBody :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
307irpvarPostBody
307irpvarPostBody
308 = lens _irpvarPostBody
308 = lens _irpvarPostBody
309 (\ s a -> s{_irpvarPostBody = a})
309 (\ s a -> s{_irpvarPostBody = a})
311-- | Whether to return refresh tokens.
311-- | Whether to return refresh tokens.
312−irpvarReturnRefreshToken :: Lens' IdentitytoolkitRelyingPartyyVerifyAssertionRequest (Maybe Bool)
312+irpvarReturnRefreshToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Bool)
313irpvarReturnRefreshToken
313irpvarReturnRefreshToken
314 = lens _irpvarReturnRefreshToken
314 = lens _irpvarReturnRefreshToken
315 (\ s a -> s{_irpvarReturnRefreshToken = a})
315 (\ s a -> s{_irpvarReturnRefreshToken = a})
317-- | The URI to which the IDP redirects the user back. It may contain
317-- | The URI to which the IDP redirects the user back. It may contain
318-- federated login result params added by the IDP.
318-- federated login result params added by the IDP.
319−irpvarRequestURI :: Lens' IdentitytoolkitRelyingPartyyVerifyAssertionRequest (Maybe Text)
319+irpvarRequestURI :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
320irpvarRequestURI
320irpvarRequestURI
321 = lens _irpvarRequestURI
321 = lens _irpvarRequestURI
322 (\ s a -> s{_irpvarRequestURI = a})
322 (\ s a -> s{_irpvarRequestURI = a})
324-- | The GITKit token for the non-trusted IDP pending to be confirmed by the
324-- | The GITKit token for the non-trusted IDP pending to be confirmed by the
326−irpvarPendingIdToken :: Lens' IdentitytoolkitRelyingPartyyVerifyAssertionRequest (Maybe Text)
326+irpvarPendingIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
327irpvarPendingIdToken
327irpvarPendingIdToken
328 = lens _irpvarPendingIdToken
328 = lens _irpvarPendingIdToken
329 (\ s a -> s{_irpvarPendingIdToken = a})
329 (\ s a -> s{_irpvarPendingIdToken = a})
331instance FromJSON
331instance FromJSON
332− IdentitytoolkitRelyingPartyyVerifyAssertionRequest
332+ IdentitytoolkitRelyingPartyVerifyAssertionRequest
334 parseJSON
334 parseJSON
335 = withObject
335 = withObject
336− "IdentitytoolkitRelyingPartyyVerifyAssertionRequest"
336+ "IdentitytoolkitRelyingPartyVerifyAssertionRequest"
338− IdentitytoolkitRelyingPartyyVerifyAssertionRequest
338+ IdentitytoolkitRelyingPartyVerifyAssertionRequest <$>
340 (o .:? "postBody") <*> (o .:? "returnRefreshToken")
339 (o .:? "postBody") <*> (o .:? "returnRefreshToken")
341 <*> (o .:? "requestUri")
340 <*> (o .:? "requestUri")
342 <*> (o .:? "pendingIdToken"))
341 <*> (o .:? "pendingIdToken"))
344instance ToJSON
343instance ToJSON
345− IdentitytoolkitRelyingPartyyVerifyAssertionRequest
344+ IdentitytoolkitRelyingPartyVerifyAssertionRequest
348− IdentitytoolkitRelyingPartyyVerifyAssertionRequest{..}
347+ IdentitytoolkitRelyingPartyVerifyAssertionRequest{..}
350 (catMaybes
349 (catMaybes
351 [("postBody" .=) <$> _irpvarPostBody,
350 [("postBody" .=) <$> _irpvarPostBody,
@@ -356,13 +355,13 @@ instance ToJSON
357-- | Request to set the account information.
356-- | Request to set the account information.
359−-- /See:/ 'identitytoolkitRelyingPartyySetAccountInfoRequest' smart constructor.
358+-- /See:/ 'identitytoolkitRelyingPartySetAccountInfoRequest' smart constructor.
360−data IdentitytoolkitRelyingPartyySetAccountInfoRequest = IdentitytoolkitRelyingPartyySetAccountInfoRequest
359+data IdentitytoolkitRelyingPartySetAccountInfoRequest = IdentitytoolkitRelyingPartySetAccountInfoRequest
361 { _irpsairUpgradeToFederatedLogin :: !(Maybe Bool)
360 { _irpsairUpgradeToFederatedLogin :: !(Maybe Bool)
362 , _irpsairEmail :: !(Maybe Text)
361 , _irpsairEmail :: !(Maybe Text)
363 , _irpsairCaptchaChallenge :: !(Maybe Text)
362 , _irpsairCaptchaChallenge :: !(Maybe Text)
364 , _irpsairValidSince :: !(Maybe Int64)
363 , _irpsairValidSince :: !(Maybe Int64)
365− , _irpsairOobCode :: !(Maybe Text)
364+ , _irpsairOOBCode :: !(Maybe Text)
366 , _irpsairPassword :: !(Maybe Text)
365 , _irpsairPassword :: !(Maybe Text)
367 , _irpsairCaptchaResponse :: !(Maybe Text)
366 , _irpsairCaptchaResponse :: !(Maybe Text)
368 , _irpsairEmailVerified :: !(Maybe Bool)
367 , _irpsairEmailVerified :: !(Maybe Bool)
@@ -373,7 +372,7 @@ data IdentitytoolkitRelyingPartyySetAccountInfoRequest = IdentitytoolkitRelyingP
373 , _irpsairProvider :: !(Maybe [Text])
372 , _irpsairProvider :: !(Maybe [Text])
374 } deriving (Eq,Read,Show,Data,Typeable,Generic)
373 } deriving (Eq,Read,Show,Data,Typeable,Generic)
376−-- | Creates a value of 'IdentitytoolkitRelyingPartyySetAccountInfoRequest' with the minimum fields required to make a request.
375+-- | Creates a value of 'IdentitytoolkitRelyingPartySetAccountInfoRequest' with the minimum fields required to make a request.
378-- Use one of the following lenses to modify other fields as desired:
377-- Use one of the following lenses to modify other fields as desired:
@@ -385,7 +384,7 @@ data IdentitytoolkitRelyingPartyySetAccountInfoRequest = IdentitytoolkitRelyingP
386-- * 'irpsairValidSince'
385-- * 'irpsairValidSince'
388−-- * 'irpsairOobCode'
387+-- * 'irpsairOOBCode'
390-- * 'irpsairPassword'
389-- * 'irpsairPassword'
@@ -402,15 +401,15 @@ data IdentitytoolkitRelyingPartyySetAccountInfoRequest = IdentitytoolkitRelyingP
402-- * 'irpsairIdToken'
401-- * 'irpsairIdToken'
404-- * 'irpsairProvider'
403-- * 'irpsairProvider'
405−identitytoolkitRelyingPartyySetAccountInfoRequest
404+identitytoolkitRelyingPartySetAccountInfoRequest
406− :: IdentitytoolkitRelyingPartyySetAccountInfoRequest
405+ :: IdentitytoolkitRelyingPartySetAccountInfoRequest
407−identitytoolkitRelyingPartyySetAccountInfoRequest =
406+identitytoolkitRelyingPartySetAccountInfoRequest =
408− IdentitytoolkitRelyingPartyySetAccountInfoRequest
407+ IdentitytoolkitRelyingPartySetAccountInfoRequest
409 { _irpsairUpgradeToFederatedLogin = Nothing
408 { _irpsairUpgradeToFederatedLogin = Nothing
410 , _irpsairEmail = Nothing
409 , _irpsairEmail = Nothing
411 , _irpsairCaptchaChallenge = Nothing
410 , _irpsairCaptchaChallenge = Nothing
412 , _irpsairValidSince = Nothing
411 , _irpsairValidSince = Nothing
413− , _irpsairOobCode = Nothing
412+ , _irpsairOOBCode = Nothing
414 , _irpsairPassword = Nothing
413 , _irpsairPassword = Nothing
415 , _irpsairCaptchaResponse = Nothing
414 , _irpsairCaptchaResponse = Nothing
416 , _irpsairEmailVerified = Nothing
415 , _irpsairEmailVerified = Nothing
@@ -422,78 +421,78 @@ identitytoolkitRelyingPartyySetAccountInfoRequest =
424-- | Mark the user to upgrade to federated login.
423-- | Mark the user to upgrade to federated login.
425−irpsairUpgradeToFederatedLogin :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Bool)
424+irpsairUpgradeToFederatedLogin :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool)
426irpsairUpgradeToFederatedLogin
425irpsairUpgradeToFederatedLogin
427 = lens _irpsairUpgradeToFederatedLogin
426 = lens _irpsairUpgradeToFederatedLogin
428 (\ s a -> s{_irpsairUpgradeToFederatedLogin = a})
427 (\ s a -> s{_irpsairUpgradeToFederatedLogin = a})
430-- | The email of the user.
429-- | The email of the user.
431−irpsairEmail :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
430+irpsairEmail :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
432irpsairEmail
431irpsairEmail
433 = lens _irpsairEmail (\ s a -> s{_irpsairEmail = a})
432 = lens _irpsairEmail (\ s a -> s{_irpsairEmail = a})
435-- | The captcha challenge.
434-- | The captcha challenge.
436−irpsairCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
435+irpsairCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
437irpsairCaptchaChallenge
436irpsairCaptchaChallenge
438 = lens _irpsairCaptchaChallenge
437 = lens _irpsairCaptchaChallenge
439 (\ s a -> s{_irpsairCaptchaChallenge = a})
438 (\ s a -> s{_irpsairCaptchaChallenge = a})
441-- | Timestamp in seconds for valid login token.
440-- | Timestamp in seconds for valid login token.
442−irpsairValidSince :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Int64)
441+irpsairValidSince :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Int64)
443irpsairValidSince
442irpsairValidSince
444 = lens _irpsairValidSince
443 = lens _irpsairValidSince
445 (\ s a -> s{_irpsairValidSince = a})
444 (\ s a -> s{_irpsairValidSince = a})
447-- | The out-of-band code of the change email request.
446-- | The out-of-band code of the change email request.
448−irpsairOobCode :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
447+irpsairOOBCode :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
449−irpsairOobCode
448+irpsairOOBCode
450− = lens _irpsairOobCode
449+ = lens _irpsairOOBCode
451− (\ s a -> s{_irpsairOobCode = a})
450+ (\ s a -> s{_irpsairOOBCode = a})
453-- | The new password of the user.
452-- | The new password of the user.
454−irpsairPassword :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
453+irpsairPassword :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
455irpsairPassword
454irpsairPassword
456 = lens _irpsairPassword
455 = lens _irpsairPassword
457 (\ s a -> s{_irpsairPassword = a})
456 (\ s a -> s{_irpsairPassword = a})
459-- | Response to the captcha.
458-- | Response to the captcha.
460−irpsairCaptchaResponse :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
459+irpsairCaptchaResponse :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
461irpsairCaptchaResponse
460irpsairCaptchaResponse
462 = lens _irpsairCaptchaResponse
461 = lens _irpsairCaptchaResponse
463 (\ s a -> s{_irpsairCaptchaResponse = a})
462 (\ s a -> s{_irpsairCaptchaResponse = a})
465-- | Mark the email as verified or not.
464-- | Mark the email as verified or not.
466−irpsairEmailVerified :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Bool)
465+irpsairEmailVerified :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool)
467irpsairEmailVerified
466irpsairEmailVerified
468 = lens _irpsairEmailVerified
467 = lens _irpsairEmailVerified
469 (\ s a -> s{_irpsairEmailVerified = a})
468 (\ s a -> s{_irpsairEmailVerified = a})
471-- | The name of the user.
470-- | The name of the user.
472−irpsairDisplayName :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
471+irpsairDisplayName :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
473irpsairDisplayName
472irpsairDisplayName
474 = lens _irpsairDisplayName
473 = lens _irpsairDisplayName
475 (\ s a -> s{_irpsairDisplayName = a})
474 (\ s a -> s{_irpsairDisplayName = a})
477-- | Whether to disable the user.
476-- | Whether to disable the user.
478−irpsairDisableUser :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Bool)
477+irpsairDisableUser :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool)
479irpsairDisableUser
478irpsairDisableUser
480 = lens _irpsairDisableUser
479 = lens _irpsairDisableUser
481 (\ s a -> s{_irpsairDisableUser = a})
480 (\ s a -> s{_irpsairDisableUser = a})
483-- | The local ID of the user.
482-- | The local ID of the user.
484−irpsairLocalId :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
483+irpsairLocalId :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
485irpsairLocalId
484irpsairLocalId
486 = lens _irpsairLocalId
485 = lens _irpsairLocalId
487 (\ s a -> s{_irpsairLocalId = a})
486 (\ s a -> s{_irpsairLocalId = a})
489-- | The GITKit token of the authenticated user.
488-- | The GITKit token of the authenticated user.
490−irpsairIdToken :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
489+irpsairIdToken :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
491irpsairIdToken
490irpsairIdToken
492 = lens _irpsairIdToken
491 = lens _irpsairIdToken
493 (\ s a -> s{_irpsairIdToken = a})
492 (\ s a -> s{_irpsairIdToken = a})
495-- | The associated IDPs of the user.
494-- | The associated IDPs of the user.
496−irpsairProvider :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest [Text]
495+irpsairProvider :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest [Text]
497irpsairProvider
496irpsairProvider
498 = lens _irpsairProvider
497 = lens _irpsairProvider
499 (\ s a -> s{_irpsairProvider = a})
498 (\ s a -> s{_irpsairProvider = a})
@@ -501,13 +500,13 @@ irpsairProvider
501 . _Coerce
500 . _Coerce
503instance FromJSON
502instance FromJSON
504− IdentitytoolkitRelyingPartyySetAccountInfoRequest
503+ IdentitytoolkitRelyingPartySetAccountInfoRequest
506 parseJSON
505 parseJSON
507 = withObject
506 = withObject
508− "IdentitytoolkitRelyingPartyySetAccountInfoRequest"
507+ "IdentitytoolkitRelyingPartySetAccountInfoRequest"
510− IdentitytoolkitRelyingPartyySetAccountInfoRequest <$>
509+ IdentitytoolkitRelyingPartySetAccountInfoRequest <$>
511 (o .:? "upgradeToFederatedLogin") <*> (o .:? "email")
510 (o .:? "upgradeToFederatedLogin") <*> (o .:? "email")
512 <*> (o .:? "captchaChallenge")
511 <*> (o .:? "captchaChallenge")
513 <*> (o .:? "validSince")
512 <*> (o .:? "validSince")
@@ -522,10 +521,10 @@ instance FromJSON
522 <*> (o .:? "provider" .!= mempty))
521 <*> (o .:? "provider" .!= mempty))
524instance ToJSON
523instance ToJSON
525− IdentitytoolkitRelyingPartyySetAccountInfoRequest
524+ IdentitytoolkitRelyingPartySetAccountInfoRequest
528− IdentitytoolkitRelyingPartyySetAccountInfoRequest{..}
527+ IdentitytoolkitRelyingPartySetAccountInfoRequest{..}
530 (catMaybes
529 (catMaybes
531 [("upgradeToFederatedLogin" .=) <$>
530 [("upgradeToFederatedLogin" .=) <$>
@@ -533,7 +532,7 @@ instance ToJSON
533 ("email" .=) <$> _irpsairEmail,
532 ("email" .=) <$> _irpsairEmail,
534 ("captchaChallenge" .=) <$> _irpsairCaptchaChallenge,
533 ("captchaChallenge" .=) <$> _irpsairCaptchaChallenge,
535 ("validSince" .=) <$> _irpsairValidSince,
534 ("validSince" .=) <$> _irpsairValidSince,
536− ("oobCode" .=) <$> _irpsairOobCode,
535+ ("oobCode" .=) <$> _irpsairOOBCode,
537 ("password" .=) <$> _irpsairPassword,
536 ("password" .=) <$> _irpsairPassword,
538 ("captchaResponse" .=) <$> _irpsairCaptchaResponse,
537 ("captchaResponse" .=) <$> _irpsairCaptchaResponse,
539 ("emailVerified" .=) <$> _irpsairEmailVerified,
538 ("emailVerified" .=) <$> _irpsairEmailVerified,
@@ -837,8 +836,8 @@ instance ToJSON CreateAuthURIResponse where
837-- | Request of getting a code for user confirmation (reset password, change
836-- | Request of getting a code for user confirmation (reset password, change
838-- email etc.)
837-- email etc.)
840−-- /See:/ 'relyingPartyy' smart constructor.
839+-- /See:/ 'relyingParty' smart constructor.
841−data RelyingPartyy = RelyingPartyy
840+data RelyingParty = RelyingParty
842 { _rpEmail :: !(Maybe Text)
841 { _rpEmail :: !(Maybe Text)
843 , _rpKind :: !Text
842 , _rpKind :: !Text
844 , _rpUserIP :: !(Maybe Text)
843 , _rpUserIP :: !(Maybe Text)
@@ -849,7 +848,7 @@ data RelyingPartyy = RelyingPartyy
849 , _rpIdToken :: !(Maybe Text)
848 , _rpIdToken :: !(Maybe Text)
850 } deriving (Eq,Read,Show,Data,Typeable,Generic)
849 } deriving (Eq,Read,Show,Data,Typeable,Generic)
852−-- | Creates a value of 'RelyingPartyy' with the minimum fields required to make a request.
851+-- | Creates a value of 'RelyingParty' with the minimum fields required to make a request.
854-- Use one of the following lenses to modify other fields as desired:
853-- Use one of the following lenses to modify other fields as desired:
@@ -868,10 +867,10 @@ data RelyingPartyy = RelyingPartyy
868-- * 'rpChallenge'
867-- * 'rpChallenge'
870-- * 'rpIdToken'
869-- * 'rpIdToken'
871−relyingPartyy
870+relyingParty
872− :: RelyingPartyy
871+ :: RelyingParty
873−relyingPartyy =
872+relyingParty =
874− RelyingPartyy
873+ RelyingParty
875 { _rpEmail = Nothing
874 { _rpEmail = Nothing
876 , _rpKind = "identitytoolkit#relyingparty"
875 , _rpKind = "identitytoolkit#relyingparty"
877 , _rpUserIP = Nothing
876 , _rpUserIP = Nothing
@@ -883,49 +882,49 @@ relyingPartyy =
885-- | The email of the user.
884-- | The email of the user.
886−rpEmail :: Lens' RelyingPartyy (Maybe Text)
885+rpEmail :: Lens' RelyingParty (Maybe Text)
887rpEmail = lens _rpEmail (\ s a -> s{_rpEmail = a})
886rpEmail = lens _rpEmail (\ s a -> s{_rpEmail = a})
889-- | The fixed string \"identitytoolkit#relyingparty\".
888-- | The fixed string \"identitytoolkit#relyingparty\".
890−rpKind :: Lens' RelyingPartyy Text
889+rpKind :: Lens' RelyingParty Text
891rpKind = lens _rpKind (\ s a -> s{_rpKind = a})
890rpKind = lens _rpKind (\ s a -> s{_rpKind = a})
893-- | The IP address of the user.
892-- | The IP address of the user.
894−rpUserIP :: Lens' RelyingPartyy (Maybe Text)
893+rpUserIP :: Lens' RelyingParty (Maybe Text)
895rpUserIP = lens _rpUserIP (\ s a -> s{_rpUserIP = a})
894rpUserIP = lens _rpUserIP (\ s a -> s{_rpUserIP = a})
897-- | The request type.
896-- | The request type.
898−rpRequestType :: Lens' RelyingPartyy (Maybe Text)
897+rpRequestType :: Lens' RelyingParty (Maybe Text)
899rpRequestType
898rpRequestType
900 = lens _rpRequestType
899 = lens _rpRequestType
901 (\ s a -> s{_rpRequestType = a})
900 (\ s a -> s{_rpRequestType = a})
903-- | The recaptcha response from the user.
902-- | The recaptcha response from the user.
904−rpCaptchaResp :: Lens' RelyingPartyy (Maybe Text)
903+rpCaptchaResp :: Lens' RelyingParty (Maybe Text)
905rpCaptchaResp
904rpCaptchaResp
906 = lens _rpCaptchaResp
905 = lens _rpCaptchaResp
907 (\ s a -> s{_rpCaptchaResp = a})
906 (\ s a -> s{_rpCaptchaResp = a})
909-- | The new email if the code is for email change.
908-- | The new email if the code is for email change.
910−rpNewEmail :: Lens' RelyingPartyy (Maybe Text)
909+rpNewEmail :: Lens' RelyingParty (Maybe Text)
911rpNewEmail
910rpNewEmail
912 = lens _rpNewEmail (\ s a -> s{_rpNewEmail = a})
911 = lens _rpNewEmail (\ s a -> s{_rpNewEmail = a})
914-- | The recaptcha challenge presented to the user.
913-- | The recaptcha challenge presented to the user.
915−rpChallenge :: Lens' RelyingPartyy (Maybe Text)
914+rpChallenge :: Lens' RelyingParty (Maybe Text)
916rpChallenge
915rpChallenge
917 = lens _rpChallenge (\ s a -> s{_rpChallenge = a})
916 = lens _rpChallenge (\ s a -> s{_rpChallenge = a})
919-- | The user\'s Gitkit login token for email change.
918-- | The user\'s Gitkit login token for email change.
920−rpIdToken :: Lens' RelyingPartyy (Maybe Text)
919+rpIdToken :: Lens' RelyingParty (Maybe Text)
922 = lens _rpIdToken (\ s a -> s{_rpIdToken = a})
921 = lens _rpIdToken (\ s a -> s{_rpIdToken = a})
924−instance FromJSON RelyingPartyy where
923+instance FromJSON RelyingParty where
925 parseJSON
924 parseJSON
926− = withObject "RelyingPartyy"
925+ = withObject "RelyingParty"
928− RelyingPartyy <$>
927+ RelyingParty <$>
929 (o .:? "email") <*>
928 (o .:? "email") <*>
930 (o .:? "kind" .!= "identitytoolkit#relyingparty")
929 (o .:? "kind" .!= "identitytoolkit#relyingparty")
931 <*> (o .:? "userIp")
930 <*> (o .:? "userIp")
@@ -935,8 +934,8 @@ instance FromJSON RelyingPartyy where
935 <*> (o .:? "challenge")
934 <*> (o .:? "challenge")
936 <*> (o .:? "idToken"))
935 <*> (o .:? "idToken"))
938−instance ToJSON RelyingPartyy where
937+instance ToJSON RelyingParty where
939− toJSON RelyingPartyy{..}
938+ toJSON RelyingParty{..}
941 (catMaybes
940 (catMaybes
942 [("email" .=) <$> _rpEmail, Just ("kind" .= _rpKind),
941 [("email" .=) <$> _rpEmail, Just ("kind" .= _rpKind),
@@ -949,14 +948,14 @@ instance ToJSON RelyingPartyy where
950-- | Request to get the account information.
949-- | Request to get the account information.
952−-- /See:/ 'identitytoolkitRelyingPartyyGetAccountInfoRequest' smart constructor.
951+-- /See:/ 'identitytoolkitRelyingPartyGetAccountInfoRequest' smart constructor.
953−data IdentitytoolkitRelyingPartyyGetAccountInfoRequest = IdentitytoolkitRelyingPartyyGetAccountInfoRequest
952+data IdentitytoolkitRelyingPartyGetAccountInfoRequest = IdentitytoolkitRelyingPartyGetAccountInfoRequest
954 { _irpgairEmail :: !(Maybe [Text])
953 { _irpgairEmail :: !(Maybe [Text])
955 , _irpgairLocalId :: !(Maybe [Text])
954 , _irpgairLocalId :: !(Maybe [Text])
956 , _irpgairIdToken :: !(Maybe Text)
955 , _irpgairIdToken :: !(Maybe Text)
957 } deriving (Eq,Read,Show,Data,Typeable,Generic)
956 } deriving (Eq,Read,Show,Data,Typeable,Generic)
959−-- | Creates a value of 'IdentitytoolkitRelyingPartyyGetAccountInfoRequest' with the minimum fields required to make a request.
958+-- | Creates a value of 'IdentitytoolkitRelyingPartyGetAccountInfoRequest' with the minimum fields required to make a request.
961-- Use one of the following lenses to modify other fields as desired:
960-- Use one of the following lenses to modify other fields as desired:
@@ -965,24 +964,24 @@ data IdentitytoolkitRelyingPartyyGetAccountInfoRequest = IdentitytoolkitRelyingP
965-- * 'irpgairLocalId'
964-- * 'irpgairLocalId'
967-- * 'irpgairIdToken'
966-- * 'irpgairIdToken'
968−identitytoolkitRelyingPartyyGetAccountInfoRequest
967+identitytoolkitRelyingPartyGetAccountInfoRequest
969− :: IdentitytoolkitRelyingPartyyGetAccountInfoRequest
968+ :: IdentitytoolkitRelyingPartyGetAccountInfoRequest
970−identitytoolkitRelyingPartyyGetAccountInfoRequest =
969+identitytoolkitRelyingPartyGetAccountInfoRequest =
971− IdentitytoolkitRelyingPartyyGetAccountInfoRequest
970+ IdentitytoolkitRelyingPartyGetAccountInfoRequest
972 { _irpgairEmail = Nothing
971 { _irpgairEmail = Nothing
973 , _irpgairLocalId = Nothing
972 , _irpgairLocalId = Nothing
974 , _irpgairIdToken = Nothing
973 , _irpgairIdToken = Nothing
977-- | The list of emails of the users to inquiry.
976-- | The list of emails of the users to inquiry.
978−irpgairEmail :: Lens' IdentitytoolkitRelyingPartyyGetAccountInfoRequest [Text]
977+irpgairEmail :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest [Text]
979irpgairEmail
978irpgairEmail
980 = lens _irpgairEmail (\ s a -> s{_irpgairEmail = a})
979 = lens _irpgairEmail (\ s a -> s{_irpgairEmail = a})
981 . _Default
980 . _Default
982 . _Coerce
981 . _Coerce
984-- | The list of local ID\'s of the users to inquiry.
983-- | The list of local ID\'s of the users to inquiry.
985−irpgairLocalId :: Lens' IdentitytoolkitRelyingPartyyGetAccountInfoRequest [Text]
984+irpgairLocalId :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest [Text]
986irpgairLocalId
985irpgairLocalId
987 = lens _irpgairLocalId
986 = lens _irpgairLocalId
988 (\ s a -> s{_irpgairLocalId = a})
987 (\ s a -> s{_irpgairLocalId = a})
@@ -990,28 +989,28 @@ irpgairLocalId
990 . _Coerce
989 . _Coerce
992-- | The GITKit token of the authenticated user.
991-- | The GITKit token of the authenticated user.
993−irpgairIdToken :: Lens' IdentitytoolkitRelyingPartyyGetAccountInfoRequest (Maybe Text)
992+irpgairIdToken :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest (Maybe Text)
994irpgairIdToken
993irpgairIdToken
995 = lens _irpgairIdToken
994 = lens _irpgairIdToken
996 (\ s a -> s{_irpgairIdToken = a})
995 (\ s a -> s{_irpgairIdToken = a})
998instance FromJSON
997instance FromJSON
999− IdentitytoolkitRelyingPartyyGetAccountInfoRequest
998+ IdentitytoolkitRelyingPartyGetAccountInfoRequest
1001 parseJSON
1000 parseJSON
1002 = withObject
1001 = withObject
1003− "IdentitytoolkitRelyingPartyyGetAccountInfoRequest"
1002+ "IdentitytoolkitRelyingPartyGetAccountInfoRequest"
1005− IdentitytoolkitRelyingPartyyGetAccountInfoRequest <$>
1004+ IdentitytoolkitRelyingPartyGetAccountInfoRequest <$>
1006 (o .:? "email" .!= mempty) <*>
1005 (o .:? "email" .!= mempty) <*>
1007 (o .:? "localId" .!= mempty)
1006 (o .:? "localId" .!= mempty)
1008 <*> (o .:? "idToken"))
1007 <*> (o .:? "idToken"))
1010instance ToJSON
1009instance ToJSON
1011− IdentitytoolkitRelyingPartyyGetAccountInfoRequest
1010+ IdentitytoolkitRelyingPartyGetAccountInfoRequest
1014− IdentitytoolkitRelyingPartyyGetAccountInfoRequest{..}
1013+ IdentitytoolkitRelyingPartyGetAccountInfoRequest{..}
1015 = object
1014 = object
1016 (catMaybes
1015 (catMaybes
1017 [("email" .=) <$> _irpgairEmail,
1016 [("email" .=) <$> _irpgairEmail,
@@ -1020,37 +1019,37 @@ instance ToJSON
1021-- | Respone of getting public keys.
1020-- | Respone of getting public keys.
1023−-- /See:/ 'identitytoolkitRelyingPartyyGetPublicKeysResponse' smart constructor.
1022+-- /See:/ 'identitytoolkitRelyingPartyGetPublicKeysResponse' smart constructor.
1024−data IdentitytoolkitRelyingPartyyGetPublicKeysResponse =
1023+data IdentitytoolkitRelyingPartyGetPublicKeysResponse =
1025− IdentitytoolkitRelyingPartyyGetPublicKeysResponse
1024+ IdentitytoolkitRelyingPartyGetPublicKeysResponse
1026 deriving (Eq,Read,Show,Data,Typeable,Generic)
1025 deriving (Eq,Read,Show,Data,Typeable,Generic)
1028−-- | Creates a value of 'IdentitytoolkitRelyingPartyyGetPublicKeysResponse' with the minimum fields required to make a request.
1027+-- | Creates a value of 'IdentitytoolkitRelyingPartyGetPublicKeysResponse' with the minimum fields required to make a request.
1030−identitytoolkitRelyingPartyyGetPublicKeysResponse
1029+identitytoolkitRelyingPartyGetPublicKeysResponse
1031− :: IdentitytoolkitRelyingPartyyGetPublicKeysResponse
1030+ :: IdentitytoolkitRelyingPartyGetPublicKeysResponse
1032−identitytoolkitRelyingPartyyGetPublicKeysResponse =
1031+identitytoolkitRelyingPartyGetPublicKeysResponse =
1033− IdentitytoolkitRelyingPartyyGetPublicKeysResponse
1032+ IdentitytoolkitRelyingPartyGetPublicKeysResponse
1035instance FromJSON
1034instance FromJSON
1036− IdentitytoolkitRelyingPartyyGetPublicKeysResponse
1035+ IdentitytoolkitRelyingPartyGetPublicKeysResponse
1038 parseJSON
1037 parseJSON
1039 = withObject
1038 = withObject
1040− "IdentitytoolkitRelyingPartyyGetPublicKeysResponse"
1039+ "IdentitytoolkitRelyingPartyGetPublicKeysResponse"
1043− IdentitytoolkitRelyingPartyyGetPublicKeysResponse)
1042+ IdentitytoolkitRelyingPartyGetPublicKeysResponse)
1045instance ToJSON
1044instance ToJSON
1046− IdentitytoolkitRelyingPartyyGetPublicKeysResponse
1045+ IdentitytoolkitRelyingPartyGetPublicKeysResponse
1048 toJSON = const (Object mempty)
1047 toJSON = const (Object mempty)
1050-- | Request to get the IDP authentication URL.
1049-- | Request to get the IDP authentication URL.
1052−-- /See:/ 'identitytoolkitRelyingPartyyCreateAuthURIRequest' smart constructor.
1051+-- /See:/ 'identitytoolkitRelyingPartyCreateAuthURIRequest' smart constructor.
1053−data IdentitytoolkitRelyingPartyyCreateAuthURIRequest = IdentitytoolkitRelyingPartyyCreateAuthURIRequest
1052+data IdentitytoolkitRelyingPartyCreateAuthURIRequest = IdentitytoolkitRelyingPartyCreateAuthURIRequest
1054 { _irpcaurProviderId :: !(Maybe Text)
1053 { _irpcaurProviderId :: !(Maybe Text)
1055 , _irpcaurClientId :: !(Maybe Text)
1054 , _irpcaurClientId :: !(Maybe Text)
1056 , _irpcaurContext :: !(Maybe Text)
1055 , _irpcaurContext :: !(Maybe Text)
@@ -1063,7 +1062,7 @@ data IdentitytoolkitRelyingPartyyCreateAuthURIRequest = IdentitytoolkitRelyingPa
1063 , _irpcaurOpenidRealm :: !(Maybe Text)
1062 , _irpcaurOpenidRealm :: !(Maybe Text)
1064 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1063 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1066−-- | Creates a value of 'IdentitytoolkitRelyingPartyyCreateAuthURIRequest' with the minimum fields required to make a request.
1065+-- | Creates a value of 'IdentitytoolkitRelyingPartyCreateAuthURIRequest' with the minimum fields required to make a request.
1068-- Use one of the following lenses to modify other fields as desired:
1067-- Use one of the following lenses to modify other fields as desired:
@@ -1086,10 +1085,10 @@ data IdentitytoolkitRelyingPartyyCreateAuthURIRequest = IdentitytoolkitRelyingPa
1086-- * 'irpcaurOAuthScope'
1085-- * 'irpcaurOAuthScope'
1088-- * 'irpcaurOpenidRealm'
1087-- * 'irpcaurOpenidRealm'
1089−identitytoolkitRelyingPartyyCreateAuthURIRequest
1088+identitytoolkitRelyingPartyCreateAuthURIRequest
1090− :: IdentitytoolkitRelyingPartyyCreateAuthURIRequest
1089+ :: IdentitytoolkitRelyingPartyCreateAuthURIRequest
1091−identitytoolkitRelyingPartyyCreateAuthURIRequest =
1090+identitytoolkitRelyingPartyCreateAuthURIRequest =
1092− IdentitytoolkitRelyingPartyyCreateAuthURIRequest
1091+ IdentitytoolkitRelyingPartyCreateAuthURIRequest
1093 { _irpcaurProviderId = Nothing
1092 { _irpcaurProviderId = Nothing
1094 , _irpcaurClientId = Nothing
1093 , _irpcaurClientId = Nothing
1095 , _irpcaurContext = Nothing
1094 , _irpcaurContext = Nothing
@@ -1105,58 +1104,58 @@ identitytoolkitRelyingPartyyCreateAuthURIRequest =
1105-- | The IdP ID. For white listed IdPs it\'s a short domain name e.g.
1104-- | The IdP ID. For white listed IdPs it\'s a short domain name e.g.
1106-- google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it\'s
1105-- google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it\'s
1107-- the OP identifier.
1106-- the OP identifier.
1108−irpcaurProviderId :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1107+irpcaurProviderId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
1109irpcaurProviderId
1108irpcaurProviderId
1110 = lens _irpcaurProviderId
1109 = lens _irpcaurProviderId
1111 (\ s a -> s{_irpcaurProviderId = a})
1110 (\ s a -> s{_irpcaurProviderId = a})
1113-- | The relying party OAuth client ID.
1112-- | The relying party OAuth client ID.
1114−irpcaurClientId :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1113+irpcaurClientId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
1115irpcaurClientId
1114irpcaurClientId
1116 = lens _irpcaurClientId
1115 = lens _irpcaurClientId
1117 (\ s a -> s{_irpcaurClientId = a})
1116 (\ s a -> s{_irpcaurClientId = a})
1119-- | The opaque value used by the client to maintain context info between the
1118-- | The opaque value used by the client to maintain context info between the
1120-- authentication request and the IDP callback.
1119-- authentication request and the IDP callback.
1121−irpcaurContext :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1120+irpcaurContext :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
1122irpcaurContext
1121irpcaurContext
1123 = lens _irpcaurContext
1122 = lens _irpcaurContext
1124 (\ s a -> s{_irpcaurContext = a})
1123 (\ s a -> s{_irpcaurContext = a})
1126-- | The email or federated ID of the user.
1125-- | The email or federated ID of the user.
1127−irpcaurIdentifier :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1126+irpcaurIdentifier :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
1128irpcaurIdentifier
1127irpcaurIdentifier
1129 = lens _irpcaurIdentifier
1128 = lens _irpcaurIdentifier
1130 (\ s a -> s{_irpcaurIdentifier = a})
1129 (\ s a -> s{_irpcaurIdentifier = a})
1132-- | The native app package for OTA installation.
1131-- | The native app package for OTA installation.
1133−irpcaurOtaApp :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1132+irpcaurOtaApp :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
1134irpcaurOtaApp
1133irpcaurOtaApp
1135 = lens _irpcaurOtaApp
1134 = lens _irpcaurOtaApp
1136 (\ s a -> s{_irpcaurOtaApp = a})
1135 (\ s a -> s{_irpcaurOtaApp = a})
1138-- | The developer\'s consumer key for OpenId OAuth Extension
1137-- | The developer\'s consumer key for OpenId OAuth Extension
1139−irpcaurOAuthConsumerKey :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1138+irpcaurOAuthConsumerKey :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
1140irpcaurOAuthConsumerKey
1139irpcaurOAuthConsumerKey
1141 = lens _irpcaurOAuthConsumerKey
1140 = lens _irpcaurOAuthConsumerKey
1142 (\ s a -> s{_irpcaurOAuthConsumerKey = a})
1141 (\ s a -> s{_irpcaurOAuthConsumerKey = a})
1144-- | The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for
1143-- | The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for
1145-- Android, BUNDLE_ID for iOS.
1144-- Android, BUNDLE_ID for iOS.
1146−irpcaurAppId :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1145+irpcaurAppId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
1147irpcaurAppId
1146irpcaurAppId
1148 = lens _irpcaurAppId (\ s a -> s{_irpcaurAppId = a})
1147 = lens _irpcaurAppId (\ s a -> s{_irpcaurAppId = a})
1150-- | The URI to which the IDP redirects the user after the federated login
1149-- | The URI to which the IDP redirects the user after the federated login
1152−irpcaurContinueURI :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1151+irpcaurContinueURI :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
1153irpcaurContinueURI
1152irpcaurContinueURI
1154 = lens _irpcaurContinueURI
1153 = lens _irpcaurContinueURI
1155 (\ s a -> s{_irpcaurContinueURI = a})
1154 (\ s a -> s{_irpcaurContinueURI = a})
1157-- | Additional oauth scopes, beyond the basid user profile, that the user
1156-- | Additional oauth scopes, beyond the basid user profile, that the user
1158-- would be prompted to grant
1157-- would be prompted to grant
1159−irpcaurOAuthScope :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1158+irpcaurOAuthScope :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
1160irpcaurOAuthScope
1159irpcaurOAuthScope
1161 = lens _irpcaurOAuthScope
1160 = lens _irpcaurOAuthScope
1162 (\ s a -> s{_irpcaurOAuthScope = a})
1161 (\ s a -> s{_irpcaurOAuthScope = a})
@@ -1164,19 +1163,18 @@ irpcaurOAuthScope
1164-- | Optional realm for OpenID protocol. The sub string
1163-- | Optional realm for OpenID protocol. The sub string
1165-- \"scheme:\/\/domain:port\" of the param \"continueUri\" is used if this
1164-- \"scheme:\/\/domain:port\" of the param \"continueUri\" is used if this
1166-- is not set.
1165-- is not set.
1167−irpcaurOpenidRealm :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1166+irpcaurOpenidRealm :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
1168irpcaurOpenidRealm
1167irpcaurOpenidRealm
1169 = lens _irpcaurOpenidRealm
1168 = lens _irpcaurOpenidRealm
1170 (\ s a -> s{_irpcaurOpenidRealm = a})
1169 (\ s a -> s{_irpcaurOpenidRealm = a})
1172instance FromJSON
1171instance FromJSON
1173− IdentitytoolkitRelyingPartyyCreateAuthURIRequest
1172+ IdentitytoolkitRelyingPartyCreateAuthURIRequest where
1175 parseJSON
1173 parseJSON
1176 = withObject
1174 = withObject
1177− "IdentitytoolkitRelyingPartyyCreateAuthURIRequest"
1175+ "IdentitytoolkitRelyingPartyCreateAuthURIRequest"
1179− IdentitytoolkitRelyingPartyyCreateAuthURIRequest <$>
1177+ IdentitytoolkitRelyingPartyCreateAuthURIRequest <$>
1180 (o .:? "providerId") <*> (o .:? "clientId") <*>
1178 (o .:? "providerId") <*> (o .:? "clientId") <*>
1181 (o .:? "context")
1179 (o .:? "context")
1182 <*> (o .:? "identifier")
1180 <*> (o .:? "identifier")
@@ -1188,10 +1186,9 @@ instance FromJSON
1188 <*> (o .:? "openidRealm"))
1186 <*> (o .:? "openidRealm"))
1190instance ToJSON
1188instance ToJSON
1191− IdentitytoolkitRelyingPartyyCreateAuthURIRequest
1189+ IdentitytoolkitRelyingPartyCreateAuthURIRequest where
1194− IdentitytoolkitRelyingPartyyCreateAuthURIRequest{..}
1191+ IdentitytoolkitRelyingPartyCreateAuthURIRequest{..}
1195 = object
1192 = object
1196 (catMaybes
1193 (catMaybes
1197 [("providerId" .=) <$> _irpcaurProviderId,
1194 [("providerId" .=) <$> _irpcaurProviderId,
@@ -1207,8 +1204,8 @@ instance ToJSON
1208-- | Request to upload user account in batch.
1205-- | Request to upload user account in batch.
1210−-- /See:/ 'identitytoolkitRelyingPartyyUploadAccountRequest' smart constructor.
1207+-- /See:/ 'identitytoolkitRelyingPartyUploadAccountRequest' smart constructor.
1211−data IdentitytoolkitRelyingPartyyUploadAccountRequest = IdentitytoolkitRelyingPartyyUploadAccountRequest
1208+data IdentitytoolkitRelyingPartyUploadAccountRequest = IdentitytoolkitRelyingPartyUploadAccountRequest
1212 { _irpuarUsers :: !(Maybe [UserInfo])
1209 { _irpuarUsers :: !(Maybe [UserInfo])
1213 , _irpuarMemoryCost :: !(Maybe Int32)
1210 , _irpuarMemoryCost :: !(Maybe Int32)
1214 , _irpuarSaltSeparator :: !(Maybe Word8)
1211 , _irpuarSaltSeparator :: !(Maybe Word8)
@@ -1217,7 +1214,7 @@ data IdentitytoolkitRelyingPartyyUploadAccountRequest = IdentitytoolkitRelyingPa
1217 , _irpuarRounds :: !(Maybe Int32)
1214 , _irpuarRounds :: !(Maybe Int32)
1218 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1215 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1220−-- | Creates a value of 'IdentitytoolkitRelyingPartyyUploadAccountRequest' with the minimum fields required to make a request.
1217+-- | Creates a value of 'IdentitytoolkitRelyingPartyUploadAccountRequest' with the minimum fields required to make a request.
1222-- Use one of the following lenses to modify other fields as desired:
1219-- Use one of the following lenses to modify other fields as desired:
@@ -1232,10 +1229,10 @@ data IdentitytoolkitRelyingPartyyUploadAccountRequest = IdentitytoolkitRelyingPa
1232-- * 'irpuarSignerKey'
1229-- * 'irpuarSignerKey'
1234-- * 'irpuarRounds'
1231-- * 'irpuarRounds'
1235−identitytoolkitRelyingPartyyUploadAccountRequest
1232+identitytoolkitRelyingPartyUploadAccountRequest
1236− :: IdentitytoolkitRelyingPartyyUploadAccountRequest
1233+ :: IdentitytoolkitRelyingPartyUploadAccountRequest
1237−identitytoolkitRelyingPartyyUploadAccountRequest =
1234+identitytoolkitRelyingPartyUploadAccountRequest =
1238− IdentitytoolkitRelyingPartyyUploadAccountRequest
1235+ IdentitytoolkitRelyingPartyUploadAccountRequest
1239 { _irpuarUsers = Nothing
1236 { _irpuarUsers = Nothing
1240 , _irpuarMemoryCost = Nothing
1237 , _irpuarMemoryCost = Nothing
1241 , _irpuarSaltSeparator = Nothing
1238 , _irpuarSaltSeparator = Nothing
@@ -1245,49 +1242,48 @@ identitytoolkitRelyingPartyyUploadAccountRequest =
1247-- | The account info to be stored.
1244-- | The account info to be stored.
1248−irpuarUsers :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest [UserInfo]
1245+irpuarUsers :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest [UserInfo]
1249irpuarUsers
1246irpuarUsers
1250 = lens _irpuarUsers (\ s a -> s{_irpuarUsers = a}) .
1247 = lens _irpuarUsers (\ s a -> s{_irpuarUsers = a}) .
1251 _Default
1248 _Default
1252 . _Coerce
1249 . _Coerce
1254-- | Memory cost for hash calculation. Used by scrypt similar algorithms.
1251-- | Memory cost for hash calculation. Used by scrypt similar algorithms.
1255−irpuarMemoryCost :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest (Maybe Int32)
1252+irpuarMemoryCost :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32)
1256irpuarMemoryCost
1253irpuarMemoryCost
1257 = lens _irpuarMemoryCost
1254 = lens _irpuarMemoryCost
1258 (\ s a -> s{_irpuarMemoryCost = a})
1255 (\ s a -> s{_irpuarMemoryCost = a})
1260-- | The salt separator.
1257-- | The salt separator.
1261−irpuarSaltSeparator :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest (Maybe Word8)
1258+irpuarSaltSeparator :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Word8)
1262irpuarSaltSeparator
1259irpuarSaltSeparator
1263 = lens _irpuarSaltSeparator
1260 = lens _irpuarSaltSeparator
1264 (\ s a -> s{_irpuarSaltSeparator = a})
1261 (\ s a -> s{_irpuarSaltSeparator = a})
1266-- | The password hash algorithm.
1263-- | The password hash algorithm.
1267−irpuarHashAlgorithm :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest (Maybe Text)
1264+irpuarHashAlgorithm :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Text)
1268irpuarHashAlgorithm
1265irpuarHashAlgorithm
1269 = lens _irpuarHashAlgorithm
1266 = lens _irpuarHashAlgorithm
1270 (\ s a -> s{_irpuarHashAlgorithm = a})
1267 (\ s a -> s{_irpuarHashAlgorithm = a})
1272-- | The key for to hash the password.
1269-- | The key for to hash the password.
1273−irpuarSignerKey :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest (Maybe Word8)
1270+irpuarSignerKey :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Word8)
1274irpuarSignerKey
1271irpuarSignerKey
1275 = lens _irpuarSignerKey
1272 = lens _irpuarSignerKey
1276 (\ s a -> s{_irpuarSignerKey = a})
1273 (\ s a -> s{_irpuarSignerKey = a})
1278-- | Rounds for hash calculation. Used by scrypt and similar algorithms.
1275-- | Rounds for hash calculation. Used by scrypt and similar algorithms.
1279−irpuarRounds :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest (Maybe Int32)
1276+irpuarRounds :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32)
1280irpuarRounds
1277irpuarRounds
1281 = lens _irpuarRounds (\ s a -> s{_irpuarRounds = a})
1278 = lens _irpuarRounds (\ s a -> s{_irpuarRounds = a})
1283instance FromJSON
1280instance FromJSON
1284− IdentitytoolkitRelyingPartyyUploadAccountRequest
1281+ IdentitytoolkitRelyingPartyUploadAccountRequest where
1286 parseJSON
1282 parseJSON
1287 = withObject
1283 = withObject
1288− "IdentitytoolkitRelyingPartyyUploadAccountRequest"
1284+ "IdentitytoolkitRelyingPartyUploadAccountRequest"
1290− IdentitytoolkitRelyingPartyyUploadAccountRequest <$>
1286+ IdentitytoolkitRelyingPartyUploadAccountRequest <$>
1291 (o .:? "users" .!= mempty) <*> (o .:? "memoryCost")
1287 (o .:? "users" .!= mempty) <*> (o .:? "memoryCost")
1292 <*> (o .:? "saltSeparator")
1288 <*> (o .:? "saltSeparator")
1293 <*> (o .:? "hashAlgorithm")
1289 <*> (o .:? "hashAlgorithm")
@@ -1295,10 +1291,9 @@ instance FromJSON
1295 <*> (o .:? "rounds"))
1291 <*> (o .:? "rounds"))
1297instance ToJSON
1293instance ToJSON
1298− IdentitytoolkitRelyingPartyyUploadAccountRequest
1294+ IdentitytoolkitRelyingPartyUploadAccountRequest where
1301− IdentitytoolkitRelyingPartyyUploadAccountRequest{..}
1296+ IdentitytoolkitRelyingPartyUploadAccountRequest{..}
1302 = object
1297 = object
1303 (catMaybes
1298 (catMaybes
1304 [("users" .=) <$> _irpuarUsers,
1299 [("users" .=) <$> _irpuarUsers,
@@ -1310,15 +1305,15 @@ instance ToJSON
1311-- | Request to reset the password.
1306-- | Request to reset the password.
1313−-- /See:/ 'identitytoolkitRelyingPartyyResetPasswordRequest' smart constructor.
1308+-- /See:/ 'identitytoolkitRelyingPartyResetPasswordRequest' smart constructor.
1314−data IdentitytoolkitRelyingPartyyResetPasswordRequest = IdentitytoolkitRelyingPartyyResetPasswordRequest
1309+data IdentitytoolkitRelyingPartyResetPasswordRequest = IdentitytoolkitRelyingPartyResetPasswordRequest
1315 { _irprprEmail :: !(Maybe Text)
1310 { _irprprEmail :: !(Maybe Text)
1316 , _irprprNewPassword :: !(Maybe Text)
1311 , _irprprNewPassword :: !(Maybe Text)
1317− , _irprprOobCode :: !(Maybe Text)
1312+ , _irprprOOBCode :: !(Maybe Text)
1318 , _irprprOldPassword :: !(Maybe Text)
1313 , _irprprOldPassword :: !(Maybe Text)
1319 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1314 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1321−-- | Creates a value of 'IdentitytoolkitRelyingPartyyResetPasswordRequest' with the minimum fields required to make a request.
1316+-- | Creates a value of 'IdentitytoolkitRelyingPartyResetPasswordRequest' with the minimum fields required to make a request.
1323-- Use one of the following lenses to modify other fields as desired:
1318-- Use one of the following lenses to modify other fields as desired:
@@ -1326,64 +1321,62 @@ data IdentitytoolkitRelyingPartyyResetPasswordRequest = IdentitytoolkitRelyingPa
1327-- * 'irprprNewPassword'
1322-- * 'irprprNewPassword'
1329−-- * 'irprprOobCode'
1324+-- * 'irprprOOBCode'
1331-- * 'irprprOldPassword'
1326-- * 'irprprOldPassword'
1332−identitytoolkitRelyingPartyyResetPasswordRequest
1327+identitytoolkitRelyingPartyResetPasswordRequest
1333− :: IdentitytoolkitRelyingPartyyResetPasswordRequest
1328+ :: IdentitytoolkitRelyingPartyResetPasswordRequest
1334−identitytoolkitRelyingPartyyResetPasswordRequest =
1329+identitytoolkitRelyingPartyResetPasswordRequest =
1335− IdentitytoolkitRelyingPartyyResetPasswordRequest
1330+ IdentitytoolkitRelyingPartyResetPasswordRequest
1336 { _irprprEmail = Nothing
1331 { _irprprEmail = Nothing
1337 , _irprprNewPassword = Nothing
1332 , _irprprNewPassword = Nothing
1338− , _irprprOobCode = Nothing
1333+ , _irprprOOBCode = Nothing
1339 , _irprprOldPassword = Nothing
1334 , _irprprOldPassword = Nothing
1342-- | The email address of the user.
1337-- | The email address of the user.
1343−irprprEmail :: Lens' IdentitytoolkitRelyingPartyyResetPasswordRequest (Maybe Text)
1338+irprprEmail :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
1344irprprEmail
1339irprprEmail
1345 = lens _irprprEmail (\ s a -> s{_irprprEmail = a})
1340 = lens _irprprEmail (\ s a -> s{_irprprEmail = a})
1347-- | The new password inputted by the user.
1342-- | The new password inputted by the user.
1348−irprprNewPassword :: Lens' IdentitytoolkitRelyingPartyyResetPasswordRequest (Maybe Text)
1343+irprprNewPassword :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
1349irprprNewPassword
1344irprprNewPassword
1350 = lens _irprprNewPassword
1345 = lens _irprprNewPassword
1351 (\ s a -> s{_irprprNewPassword = a})
1346 (\ s a -> s{_irprprNewPassword = a})
1353-- | The confirmation code.
1348-- | The confirmation code.
1354−irprprOobCode :: Lens' IdentitytoolkitRelyingPartyyResetPasswordRequest (Maybe Text)
1349+irprprOOBCode :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
1355−irprprOobCode
1350+irprprOOBCode
1356− = lens _irprprOobCode
1351+ = lens _irprprOOBCode
1357− (\ s a -> s{_irprprOobCode = a})
1352+ (\ s a -> s{_irprprOOBCode = a})
1359-- | The old password inputted by the user.
1354-- | The old password inputted by the user.
1360−irprprOldPassword :: Lens' IdentitytoolkitRelyingPartyyResetPasswordRequest (Maybe Text)
1355+irprprOldPassword :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
1361irprprOldPassword
1356irprprOldPassword
1362 = lens _irprprOldPassword
1357 = lens _irprprOldPassword
1363 (\ s a -> s{_irprprOldPassword = a})
1358 (\ s a -> s{_irprprOldPassword = a})
1365instance FromJSON
1360instance FromJSON
1366− IdentitytoolkitRelyingPartyyResetPasswordRequest
1361+ IdentitytoolkitRelyingPartyResetPasswordRequest where
1368 parseJSON
1362 parseJSON
1369 = withObject
1363 = withObject
1370− "IdentitytoolkitRelyingPartyyResetPasswordRequest"
1364+ "IdentitytoolkitRelyingPartyResetPasswordRequest"
1372− IdentitytoolkitRelyingPartyyResetPasswordRequest <$>
1366+ IdentitytoolkitRelyingPartyResetPasswordRequest <$>
1373 (o .:? "email") <*> (o .:? "newPassword") <*>
1367 (o .:? "email") <*> (o .:? "newPassword") <*>
1374 (o .:? "oobCode")
1368 (o .:? "oobCode")
1375 <*> (o .:? "oldPassword"))
1369 <*> (o .:? "oldPassword"))
1377instance ToJSON
1371instance ToJSON
1378− IdentitytoolkitRelyingPartyyResetPasswordRequest
1372+ IdentitytoolkitRelyingPartyResetPasswordRequest where
1381− IdentitytoolkitRelyingPartyyResetPasswordRequest{..}
1374+ IdentitytoolkitRelyingPartyResetPasswordRequest{..}
1382 = object
1375 = object
1383 (catMaybes
1376 (catMaybes
1384 [("email" .=) <$> _irprprEmail,
1377 [("email" .=) <$> _irprprEmail,
1385 ("newPassword" .=) <$> _irprprNewPassword,
1378 ("newPassword" .=) <$> _irprprNewPassword,
1386− ("oobCode" .=) <$> _irprprOobCode,
1379+ ("oobCode" .=) <$> _irprprOOBCode,
1387 ("oldPassword" .=) <$> _irprprOldPassword])
1380 ("oldPassword" .=) <$> _irprprOldPassword])
1389-- | Response of getting account information.
1382-- | Response of getting account information.
@@ -1439,94 +1432,93 @@ instance ToJSON GetAccountInfoResponse where
1439-- | Response of getting a code for user confirmation (reset password, change
1432-- | Response of getting a code for user confirmation (reset password, change
1440-- email etc.).
1433-- email etc.).
1442−-- /See:/ 'getOobConfirmationCodeResponse' smart constructor.
1435+-- /See:/ 'getOOBConfirmationCodeResponse' smart constructor.
1443−data GetOobConfirmationCodeResponse = GetOobConfirmationCodeResponse
1436+data GetOOBConfirmationCodeResponse = GetOOBConfirmationCodeResponse
1444− { _goccrKind :: !Text
1437+ { _goobccrKind :: !Text
1445− , _goccrOobCode :: !(Maybe Text)
1438+ , _goobccrOOBCode :: !(Maybe Text)
1446 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1439 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1448−-- | Creates a value of 'GetOobConfirmationCodeResponse' with the minimum fields required to make a request.
1441+-- | Creates a value of 'GetOOBConfirmationCodeResponse' with the minimum fields required to make a request.
1450-- Use one of the following lenses to modify other fields as desired:
1443-- Use one of the following lenses to modify other fields as desired:
1452−-- * 'goccrKind'
1445+-- * 'goobccrKind'
1454−-- * 'goccrOobCode'
1447+-- * 'goobccrOOBCode'
1455−getOobConfirmationCodeResponse
1448+getOOBConfirmationCodeResponse
1456− :: GetOobConfirmationCodeResponse
1449+ :: GetOOBConfirmationCodeResponse
1457−getOobConfirmationCodeResponse =
1450+getOOBConfirmationCodeResponse =
1458− GetOobConfirmationCodeResponse
1451+ GetOOBConfirmationCodeResponse
1459− { _goccrKind = "identitytoolkit#GetOobConfirmationCodeResponse"
1452+ { _goobccrKind = "identitytoolkit#GetOobConfirmationCodeResponse"
1460− , _goccrOobCode = Nothing
1453+ , _goobccrOOBCode = Nothing
1463-- | The fixed string \"identitytoolkit#GetOobConfirmationCodeResponse\".
1456-- | The fixed string \"identitytoolkit#GetOobConfirmationCodeResponse\".
1464−goccrKind :: Lens' GetOobConfirmationCodeResponse Text
1457+goobccrKind :: Lens' GetOOBConfirmationCodeResponse Text
1465−goccrKind
1458+goobccrKind
1466− = lens _goccrKind (\ s a -> s{_goccrKind = a})
1459+ = lens _goobccrKind (\ s a -> s{_goobccrKind = a})
1468-- | The code to be send to the user.
1461-- | The code to be send to the user.
1469−goccrOobCode :: Lens' GetOobConfirmationCodeResponse (Maybe Text)
1462+goobccrOOBCode :: Lens' GetOOBConfirmationCodeResponse (Maybe Text)
1470−goccrOobCode
1463+goobccrOOBCode
1471− = lens _goccrOobCode (\ s a -> s{_goccrOobCode = a})
1464+ = lens _goobccrOOBCode
1465+ (\ s a -> s{_goobccrOOBCode = a})
1473−instance FromJSON GetOobConfirmationCodeResponse
1467+instance FromJSON GetOOBConfirmationCodeResponse
1475 parseJSON
1469 parseJSON
1476− = withObject "GetOobConfirmationCodeResponse"
1470+ = withObject "GetOOBConfirmationCodeResponse"
1478− GetOobConfirmationCodeResponse <$>
1472+ GetOOBConfirmationCodeResponse <$>
1479 (o .:? "kind" .!=
1473 (o .:? "kind" .!=
1480 "identitytoolkit#GetOobConfirmationCodeResponse")
1474 "identitytoolkit#GetOobConfirmationCodeResponse")
1481 <*> (o .:? "oobCode"))
1475 <*> (o .:? "oobCode"))
1483−instance ToJSON GetOobConfirmationCodeResponse where
1477+instance ToJSON GetOOBConfirmationCodeResponse where
1484− toJSON GetOobConfirmationCodeResponse{..}
1478+ toJSON GetOOBConfirmationCodeResponse{..}
1485 = object
1479 = object
1486 (catMaybes
1480 (catMaybes
1487− [Just ("kind" .= _goccrKind),
1481+ [Just ("kind" .= _goobccrKind),
1488− ("oobCode" .=) <$> _goccrOobCode])
1482+ ("oobCode" .=) <$> _goobccrOOBCode])
1490-- | Request to delete account.
1484-- | Request to delete account.
1492−-- /See:/ 'identitytoolkitRelyingPartyyDeleteAccountRequest' smart constructor.
1486+-- /See:/ 'identitytoolkitRelyingPartyDeleteAccountRequest' smart constructor.
1493−newtype IdentitytoolkitRelyingPartyyDeleteAccountRequest = IdentitytoolkitRelyingPartyyDeleteAccountRequest
1487+newtype IdentitytoolkitRelyingPartyDeleteAccountRequest = IdentitytoolkitRelyingPartyDeleteAccountRequest
1494 { _irpdarLocalId :: Maybe Text
1488 { _irpdarLocalId :: Maybe Text
1495 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1489 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1497−-- | Creates a value of 'IdentitytoolkitRelyingPartyyDeleteAccountRequest' with the minimum fields required to make a request.
1491+-- | Creates a value of 'IdentitytoolkitRelyingPartyDeleteAccountRequest' with the minimum fields required to make a request.
1499-- Use one of the following lenses to modify other fields as desired:
1493-- Use one of the following lenses to modify other fields as desired:
1501-- * 'irpdarLocalId'
1495-- * 'irpdarLocalId'
1502−identitytoolkitRelyingPartyyDeleteAccountRequest
1496+identitytoolkitRelyingPartyDeleteAccountRequest
1503− :: IdentitytoolkitRelyingPartyyDeleteAccountRequest
1497+ :: IdentitytoolkitRelyingPartyDeleteAccountRequest
1504−identitytoolkitRelyingPartyyDeleteAccountRequest =
1498+identitytoolkitRelyingPartyDeleteAccountRequest =
1505− IdentitytoolkitRelyingPartyyDeleteAccountRequest
1499+ IdentitytoolkitRelyingPartyDeleteAccountRequest
1506 { _irpdarLocalId = Nothing
1500 { _irpdarLocalId = Nothing
1509-- | The local ID of the user.
1503-- | The local ID of the user.
1510−irpdarLocalId :: Lens' IdentitytoolkitRelyingPartyyDeleteAccountRequest (Maybe Text)
1504+irpdarLocalId :: Lens' IdentitytoolkitRelyingPartyDeleteAccountRequest (Maybe Text)
1511irpdarLocalId
1505irpdarLocalId
1512 = lens _irpdarLocalId
1506 = lens _irpdarLocalId
1513 (\ s a -> s{_irpdarLocalId = a})
1507 (\ s a -> s{_irpdarLocalId = a})
1515instance FromJSON
1509instance FromJSON
1516− IdentitytoolkitRelyingPartyyDeleteAccountRequest
1510+ IdentitytoolkitRelyingPartyDeleteAccountRequest where
1518 parseJSON
1511 parseJSON
1519 = withObject
1512 = withObject
1520− "IdentitytoolkitRelyingPartyyDeleteAccountRequest"
1513+ "IdentitytoolkitRelyingPartyDeleteAccountRequest"
1522− IdentitytoolkitRelyingPartyyDeleteAccountRequest <$>
1515+ IdentitytoolkitRelyingPartyDeleteAccountRequest <$>
1523 (o .:? "localId"))
1516 (o .:? "localId"))
1525instance ToJSON
1518instance ToJSON
1526− IdentitytoolkitRelyingPartyyDeleteAccountRequest
1519+ IdentitytoolkitRelyingPartyDeleteAccountRequest where
1529− IdentitytoolkitRelyingPartyyDeleteAccountRequest{..}
1521+ IdentitytoolkitRelyingPartyDeleteAccountRequest{..}
1530 = object
1522 = object
1531 (catMaybes [("localId" .=) <$> _irpdarLocalId])
1523 (catMaybes [("localId" .=) <$> _irpdarLocalId])
@@ -1596,55 +1588,55 @@ instance ToJSON
1597-- | Request to download user account in batch.
1589-- | Request to download user account in batch.
1599−-- /See:/ 'identitytoolkitRelyingPartyyDownloadAccountRequest' smart constructor.
1591+-- /See:/ 'identitytoolkitRelyingPartyDownloadAccountRequest' smart constructor.
1600−data IdentitytoolkitRelyingPartyyDownloadAccountRequest = IdentitytoolkitRelyingPartyyDownloadAccountRequest
1592+data IdentitytoolkitRelyingPartyDownloadAccountRequest = IdentitytoolkitRelyingPartyDownloadAccountRequest
1601 { _irpdarNextPageToken :: !(Maybe Text)
1593 { _irpdarNextPageToken :: !(Maybe Text)
1602 , _irpdarMaxResults :: !(Maybe Word32)
1594 , _irpdarMaxResults :: !(Maybe Word32)
1603 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1595 } deriving (Eq,Read,Show,Data,Typeable,Generic)
1605−-- | Creates a value of 'IdentitytoolkitRelyingPartyyDownloadAccountRequest' with the minimum fields required to make a request.
1597+-- | Creates a value of 'IdentitytoolkitRelyingPartyDownloadAccountRequest' with the minimum fields required to make a request.
1607-- Use one of the following lenses to modify other fields as desired:
1599-- Use one of the following lenses to modify other fields as desired:
1609-- * 'irpdarNextPageToken'
1601-- * 'irpdarNextPageToken'
1611-- * 'irpdarMaxResults'
1603-- * 'irpdarMaxResults'
1612−identitytoolkitRelyingPartyyDownloadAccountRequest
1604+identitytoolkitRelyingPartyDownloadAccountRequest
1613− :: IdentitytoolkitRelyingPartyyDownloadAccountRequest
1605+ :: IdentitytoolkitRelyingPartyDownloadAccountRequest
1614−identitytoolkitRelyingPartyyDownloadAccountRequest =
1606+identitytoolkitRelyingPartyDownloadAccountRequest =
1615− IdentitytoolkitRelyingPartyyDownloadAccountRequest
1607+ IdentitytoolkitRelyingPartyDownloadAccountRequest
1616 { _irpdarNextPageToken = Nothing
1608 { _irpdarNextPageToken = Nothing
1617 , _irpdarMaxResults = Nothing
1609 , _irpdarMaxResults = Nothing
1620-- | The token for the next page. This should be taken from the previous
1612-- | The token for the next page. This should be taken from the previous
1621-- response.
1613-- response.
1622−irpdarNextPageToken :: Lens' IdentitytoolkitRelyingPartyyDownloadAccountRequest (Maybe Text)
1614+irpdarNextPageToken :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Text)
1623irpdarNextPageToken
1615irpdarNextPageToken
1624 = lens _irpdarNextPageToken
1616 = lens _irpdarNextPageToken
1625 (\ s a -> s{_irpdarNextPageToken = a})
1617 (\ s a -> s{_irpdarNextPageToken = a})
1627-- | The max number of results to return in the response.
1619-- | The max number of results to return in the response.
1628−irpdarMaxResults :: Lens' IdentitytoolkitRelyingPartyyDownloadAccountRequest (Maybe Word32)
1620+irpdarMaxResults :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Word32)
1629irpdarMaxResults
1621irpdarMaxResults
1630 = lens _irpdarMaxResults
1622 = lens _irpdarMaxResults
1631 (\ s a -> s{_irpdarMaxResults = a})
1623 (\ s a -> s{_irpdarMaxResults = a})
1633instance FromJSON
1625instance FromJSON
1634− IdentitytoolkitRelyingPartyyDownloadAccountRequest
1626+ IdentitytoolkitRelyingPartyDownloadAccountRequest
1636 parseJSON
1628 parseJSON
1637 = withObject
1629 = withObject
1638− "IdentitytoolkitRelyingPartyyDownloadAccountRequest"
1630+ "IdentitytoolkitRelyingPartyDownloadAccountRequest"
1640− IdentitytoolkitRelyingPartyyDownloadAccountRequest
1632+ IdentitytoolkitRelyingPartyDownloadAccountRequest <$>
1641− <$> (o .:? "nextPageToken") <*> (o .:? "maxResults"))
1633+ (o .:? "nextPageToken") <*> (o .:? "maxResults"))
1643instance ToJSON
1635instance ToJSON
1644− IdentitytoolkitRelyingPartyyDownloadAccountRequest
1636+ IdentitytoolkitRelyingPartyDownloadAccountRequest
1647− IdentitytoolkitRelyingPartyyDownloadAccountRequest{..}
1639+ IdentitytoolkitRelyingPartyDownloadAccountRequest{..}
1648 = object
1640 = object
1649 (catMaybes
1641 (catMaybes
1650 [("nextPageToken" .=) <$> _irpdarNextPageToken,
1642 [("nextPageToken" .=) <$> _irpdarNextPageToken,