@@ -182,8 +182,8 @@ instance ToJSON UserInfo where
182182
183183-- | Request to verify the password.
184184--
185−-- /See:/ 'identitytoolkitRelyingPartyyVerifyPasswordRequest' smart constructor.
186−data IdentitytoolkitRelyingPartyyVerifyPasswordRequest = IdentitytoolkitRelyingPartyyVerifyPasswordRequest
185+-- /See:/ 'identitytoolkitRelyingPartyVerifyPasswordRequest' smart constructor.
186+data IdentitytoolkitRelyingPartyVerifyPasswordRequest = IdentitytoolkitRelyingPartyVerifyPasswordRequest
187187 { _irpvprEmail :: !(Maybe Text)
188188 , _irpvprCaptchaChallenge :: !(Maybe Text)
189189 , _irpvprPassword :: !(Maybe Text)
@@ -191,7 +191,7 @@ data IdentitytoolkitRelyingPartyyVerifyPasswordRequest = IdentitytoolkitRelyingP
191191 , _irpvprPendingIdToken :: !(Maybe Text)
192192 } deriving (Eq,Read,Show,Data,Typeable,Generic)
193193
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.
195195--
196196-- Use one of the following lenses to modify other fields as desired:
197197--
@@ -204,10 +204,10 @@ data IdentitytoolkitRelyingPartyyVerifyPasswordRequest = IdentitytoolkitRelyingP
204204-- * 'irpvprCaptchaResponse'
205205--
206206-- * 'irpvprPendingIdToken'
207−identitytoolkitRelyingPartyyVerifyPasswordRequest
208− :: IdentitytoolkitRelyingPartyyVerifyPasswordRequest
209−identitytoolkitRelyingPartyyVerifyPasswordRequest =
210− IdentitytoolkitRelyingPartyyVerifyPasswordRequest
207+identitytoolkitRelyingPartyVerifyPasswordRequest
208+ :: IdentitytoolkitRelyingPartyVerifyPasswordRequest
209+identitytoolkitRelyingPartyVerifyPasswordRequest =
210+ IdentitytoolkitRelyingPartyVerifyPasswordRequest
211211 { _irpvprEmail = Nothing
212212 , _irpvprCaptchaChallenge = Nothing
213213 , _irpvprPassword = Nothing
@@ -216,53 +216,53 @@ identitytoolkitRelyingPartyyVerifyPasswordRequest =
216216 }
217217
218218-- | The email of the user.
219−irpvprEmail :: Lens' IdentitytoolkitRelyingPartyyVerifyPasswordRequest (Maybe Text)
219+irpvprEmail :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
220220irpvprEmail
221221 = lens _irpvprEmail (\ s a -> s{_irpvprEmail = a})
222222
223223-- | The captcha challenge.
224−irpvprCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartyyVerifyPasswordRequest (Maybe Text)
224+irpvprCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
225225irpvprCaptchaChallenge
226226 = lens _irpvprCaptchaChallenge
227227 (\ s a -> s{_irpvprCaptchaChallenge = a})
228228
229229-- | The password inputed by the user.
230−irpvprPassword :: Lens' IdentitytoolkitRelyingPartyyVerifyPasswordRequest (Maybe Text)
230+irpvprPassword :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
231231irpvprPassword
232232 = lens _irpvprPassword
233233 (\ s a -> s{_irpvprPassword = a})
234234
235235-- | Response to the captcha.
236−irpvprCaptchaResponse :: Lens' IdentitytoolkitRelyingPartyyVerifyPasswordRequest (Maybe Text)
236+irpvprCaptchaResponse :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
237237irpvprCaptchaResponse
238238 = lens _irpvprCaptchaResponse
239239 (\ s a -> s{_irpvprCaptchaResponse = a})
240240
241241-- | The GITKit token for the non-trusted IDP, which is to be confirmed by
242242-- the user.
243−irpvprPendingIdToken :: Lens' IdentitytoolkitRelyingPartyyVerifyPasswordRequest (Maybe Text)
243+irpvprPendingIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyPasswordRequest (Maybe Text)
244244irpvprPendingIdToken
245245 = lens _irpvprPendingIdToken
246246 (\ s a -> s{_irpvprPendingIdToken = a})
247247
248248instance FromJSON
249− IdentitytoolkitRelyingPartyyVerifyPasswordRequest
249+ IdentitytoolkitRelyingPartyVerifyPasswordRequest
250250 where
251251 parseJSON
252252 = withObject
253− "IdentitytoolkitRelyingPartyyVerifyPasswordRequest"
253+ "IdentitytoolkitRelyingPartyVerifyPasswordRequest"
254254 (\ o ->
255− IdentitytoolkitRelyingPartyyVerifyPasswordRequest <$>
255+ IdentitytoolkitRelyingPartyVerifyPasswordRequest <$>
256256 (o .:? "email") <*> (o .:? "captchaChallenge") <*>
257257 (o .:? "password")
258258 <*> (o .:? "captchaResponse")
259259 <*> (o .:? "pendingIdToken"))
260260
261261instance ToJSON
262− IdentitytoolkitRelyingPartyyVerifyPasswordRequest
262+ IdentitytoolkitRelyingPartyVerifyPasswordRequest
263263 where
264264 toJSON
265− IdentitytoolkitRelyingPartyyVerifyPasswordRequest{..}
265+ IdentitytoolkitRelyingPartyVerifyPasswordRequest{..}
266266 = object
267267 (catMaybes
268268 [("email" .=) <$> _irpvprEmail,
@@ -273,15 +273,15 @@ instance ToJSON
273273
274274-- | Request to verify the IDP assertion.
275275--
276−-- /See:/ 'identitytoolkitRelyingPartyyVerifyAssertionRequest' smart constructor.
277−data IdentitytoolkitRelyingPartyyVerifyAssertionRequest = IdentitytoolkitRelyingPartyyVerifyAssertionRequest
276+-- /See:/ 'identitytoolkitRelyingPartyVerifyAssertionRequest' smart constructor.
277+data IdentitytoolkitRelyingPartyVerifyAssertionRequest = IdentitytoolkitRelyingPartyVerifyAssertionRequest
278278 { _irpvarPostBody :: !(Maybe Text)
279279 , _irpvarReturnRefreshToken :: !(Maybe Bool)
280280 , _irpvarRequestURI :: !(Maybe Text)
281281 , _irpvarPendingIdToken :: !(Maybe Text)
282282 } deriving (Eq,Read,Show,Data,Typeable,Generic)
283283
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.
285285--
286286-- Use one of the following lenses to modify other fields as desired:
287287--
@@ -292,10 +292,10 @@ data IdentitytoolkitRelyingPartyyVerifyAssertionRequest = IdentitytoolkitRelying
292292-- * 'irpvarRequestURI'
293293--
294294-- * 'irpvarPendingIdToken'
295−identitytoolkitRelyingPartyyVerifyAssertionRequest
296− :: IdentitytoolkitRelyingPartyyVerifyAssertionRequest
297−identitytoolkitRelyingPartyyVerifyAssertionRequest =
298− IdentitytoolkitRelyingPartyyVerifyAssertionRequest
295+identitytoolkitRelyingPartyVerifyAssertionRequest
296+ :: IdentitytoolkitRelyingPartyVerifyAssertionRequest
297+identitytoolkitRelyingPartyVerifyAssertionRequest =
298+ IdentitytoolkitRelyingPartyVerifyAssertionRequest
299299 { _irpvarPostBody = Nothing
300300 , _irpvarReturnRefreshToken = Nothing
301301 , _irpvarRequestURI = Nothing
@@ -303,49 +303,48 @@ identitytoolkitRelyingPartyyVerifyAssertionRequest =
303303 }
304304
305305-- | The post body if the request is a HTTP POST.
306−irpvarPostBody :: Lens' IdentitytoolkitRelyingPartyyVerifyAssertionRequest (Maybe Text)
306+irpvarPostBody :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
307307irpvarPostBody
308308 = lens _irpvarPostBody
309309 (\ s a -> s{_irpvarPostBody = a})
310310
311311-- | Whether to return refresh tokens.
312−irpvarReturnRefreshToken :: Lens' IdentitytoolkitRelyingPartyyVerifyAssertionRequest (Maybe Bool)
312+irpvarReturnRefreshToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Bool)
313313irpvarReturnRefreshToken
314314 = lens _irpvarReturnRefreshToken
315315 (\ s a -> s{_irpvarReturnRefreshToken = a})
316316
317317-- | The URI to which the IDP redirects the user back. It may contain
318318-- federated login result params added by the IDP.
319−irpvarRequestURI :: Lens' IdentitytoolkitRelyingPartyyVerifyAssertionRequest (Maybe Text)
319+irpvarRequestURI :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
320320irpvarRequestURI
321321 = lens _irpvarRequestURI
322322 (\ s a -> s{_irpvarRequestURI = a})
323323
324324-- | The GITKit token for the non-trusted IDP pending to be confirmed by the
325325-- user.
326−irpvarPendingIdToken :: Lens' IdentitytoolkitRelyingPartyyVerifyAssertionRequest (Maybe Text)
326+irpvarPendingIdToken :: Lens' IdentitytoolkitRelyingPartyVerifyAssertionRequest (Maybe Text)
327327irpvarPendingIdToken
328328 = lens _irpvarPendingIdToken
329329 (\ s a -> s{_irpvarPendingIdToken = a})
330330
331331instance FromJSON
332− IdentitytoolkitRelyingPartyyVerifyAssertionRequest
332+ IdentitytoolkitRelyingPartyVerifyAssertionRequest
333333 where
334334 parseJSON
335335 = withObject
336− "IdentitytoolkitRelyingPartyyVerifyAssertionRequest"
336+ "IdentitytoolkitRelyingPartyVerifyAssertionRequest"
337337 (\ o ->
338− IdentitytoolkitRelyingPartyyVerifyAssertionRequest
339− <$>
338+ IdentitytoolkitRelyingPartyVerifyAssertionRequest <$>
340339 (o .:? "postBody") <*> (o .:? "returnRefreshToken")
341340 <*> (o .:? "requestUri")
342341 <*> (o .:? "pendingIdToken"))
343342
344343instance ToJSON
345− IdentitytoolkitRelyingPartyyVerifyAssertionRequest
344+ IdentitytoolkitRelyingPartyVerifyAssertionRequest
346345 where
347346 toJSON
348− IdentitytoolkitRelyingPartyyVerifyAssertionRequest{..}
347+ IdentitytoolkitRelyingPartyVerifyAssertionRequest{..}
349348 = object
350349 (catMaybes
351350 [("postBody" .=) <$> _irpvarPostBody,
@@ -356,13 +355,13 @@ instance ToJSON
356355
357356-- | Request to set the account information.
358357--
359−-- /See:/ 'identitytoolkitRelyingPartyySetAccountInfoRequest' smart constructor.
360−data IdentitytoolkitRelyingPartyySetAccountInfoRequest = IdentitytoolkitRelyingPartyySetAccountInfoRequest
358+-- /See:/ 'identitytoolkitRelyingPartySetAccountInfoRequest' smart constructor.
359+data IdentitytoolkitRelyingPartySetAccountInfoRequest = IdentitytoolkitRelyingPartySetAccountInfoRequest
361360 { _irpsairUpgradeToFederatedLogin :: !(Maybe Bool)
362361 , _irpsairEmail :: !(Maybe Text)
363362 , _irpsairCaptchaChallenge :: !(Maybe Text)
364363 , _irpsairValidSince :: !(Maybe Int64)
365− , _irpsairOobCode :: !(Maybe Text)
364+ , _irpsairOOBCode :: !(Maybe Text)
366365 , _irpsairPassword :: !(Maybe Text)
367366 , _irpsairCaptchaResponse :: !(Maybe Text)
368367 , _irpsairEmailVerified :: !(Maybe Bool)
@@ -373,7 +372,7 @@ data IdentitytoolkitRelyingPartyySetAccountInfoRequest = IdentitytoolkitRelyingP
373372 , _irpsairProvider :: !(Maybe [Text])
374373 } deriving (Eq,Read,Show,Data,Typeable,Generic)
375374
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.
377376--
378377-- Use one of the following lenses to modify other fields as desired:
379378--
@@ -385,7 +384,7 @@ data IdentitytoolkitRelyingPartyySetAccountInfoRequest = IdentitytoolkitRelyingP
385384--
386385-- * 'irpsairValidSince'
387386--
388−-- * 'irpsairOobCode'
387+-- * 'irpsairOOBCode'
389388--
390389-- * 'irpsairPassword'
391390--
@@ -402,15 +401,15 @@ data IdentitytoolkitRelyingPartyySetAccountInfoRequest = IdentitytoolkitRelyingP
402401-- * 'irpsairIdToken'
403402--
404403-- * 'irpsairProvider'
405−identitytoolkitRelyingPartyySetAccountInfoRequest
406− :: IdentitytoolkitRelyingPartyySetAccountInfoRequest
407−identitytoolkitRelyingPartyySetAccountInfoRequest =
408− IdentitytoolkitRelyingPartyySetAccountInfoRequest
404+identitytoolkitRelyingPartySetAccountInfoRequest
405+ :: IdentitytoolkitRelyingPartySetAccountInfoRequest
406+identitytoolkitRelyingPartySetAccountInfoRequest =
407+ IdentitytoolkitRelyingPartySetAccountInfoRequest
409408 { _irpsairUpgradeToFederatedLogin = Nothing
410409 , _irpsairEmail = Nothing
411410 , _irpsairCaptchaChallenge = Nothing
412411 , _irpsairValidSince = Nothing
413− , _irpsairOobCode = Nothing
412+ , _irpsairOOBCode = Nothing
414413 , _irpsairPassword = Nothing
415414 , _irpsairCaptchaResponse = Nothing
416415 , _irpsairEmailVerified = Nothing
@@ -422,78 +421,78 @@ identitytoolkitRelyingPartyySetAccountInfoRequest =
422421 }
423422
424423-- | Mark the user to upgrade to federated login.
425−irpsairUpgradeToFederatedLogin :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Bool)
424+irpsairUpgradeToFederatedLogin :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool)
426425irpsairUpgradeToFederatedLogin
427426 = lens _irpsairUpgradeToFederatedLogin
428427 (\ s a -> s{_irpsairUpgradeToFederatedLogin = a})
429428
430429-- | The email of the user.
431−irpsairEmail :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
430+irpsairEmail :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
432431irpsairEmail
433432 = lens _irpsairEmail (\ s a -> s{_irpsairEmail = a})
434433
435434-- | The captcha challenge.
436−irpsairCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
435+irpsairCaptchaChallenge :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
437436irpsairCaptchaChallenge
438437 = lens _irpsairCaptchaChallenge
439438 (\ s a -> s{_irpsairCaptchaChallenge = a})
440439
441440-- | Timestamp in seconds for valid login token.
442−irpsairValidSince :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Int64)
441+irpsairValidSince :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Int64)
443442irpsairValidSince
444443 = lens _irpsairValidSince
445444 (\ s a -> s{_irpsairValidSince = a})
446445
447446-- | The out-of-band code of the change email request.
448−irpsairOobCode :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
449−irpsairOobCode
450− = lens _irpsairOobCode
451− (\ s a -> s{_irpsairOobCode = a})
447+irpsairOOBCode :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
448+irpsairOOBCode
449+ = lens _irpsairOOBCode
450+ (\ s a -> s{_irpsairOOBCode = a})
452451
453452-- | The new password of the user.
454−irpsairPassword :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
453+irpsairPassword :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
455454irpsairPassword
456455 = lens _irpsairPassword
457456 (\ s a -> s{_irpsairPassword = a})
458457
459458-- | Response to the captcha.
460−irpsairCaptchaResponse :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
459+irpsairCaptchaResponse :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
461460irpsairCaptchaResponse
462461 = lens _irpsairCaptchaResponse
463462 (\ s a -> s{_irpsairCaptchaResponse = a})
464463
465464-- | Mark the email as verified or not.
466−irpsairEmailVerified :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Bool)
465+irpsairEmailVerified :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool)
467466irpsairEmailVerified
468467 = lens _irpsairEmailVerified
469468 (\ s a -> s{_irpsairEmailVerified = a})
470469
471470-- | The name of the user.
472−irpsairDisplayName :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
471+irpsairDisplayName :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
473472irpsairDisplayName
474473 = lens _irpsairDisplayName
475474 (\ s a -> s{_irpsairDisplayName = a})
476475
477476-- | Whether to disable the user.
478−irpsairDisableUser :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Bool)
477+irpsairDisableUser :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Bool)
479478irpsairDisableUser
480479 = lens _irpsairDisableUser
481480 (\ s a -> s{_irpsairDisableUser = a})
482481
483482-- | The local ID of the user.
484−irpsairLocalId :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
483+irpsairLocalId :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
485484irpsairLocalId
486485 = lens _irpsairLocalId
487486 (\ s a -> s{_irpsairLocalId = a})
488487
489488-- | The GITKit token of the authenticated user.
490−irpsairIdToken :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest (Maybe Text)
489+irpsairIdToken :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest (Maybe Text)
491490irpsairIdToken
492491 = lens _irpsairIdToken
493492 (\ s a -> s{_irpsairIdToken = a})
494493
495494-- | The associated IDPs of the user.
496−irpsairProvider :: Lens' IdentitytoolkitRelyingPartyySetAccountInfoRequest [Text]
495+irpsairProvider :: Lens' IdentitytoolkitRelyingPartySetAccountInfoRequest [Text]
497496irpsairProvider
498497 = lens _irpsairProvider
499498 (\ s a -> s{_irpsairProvider = a})
@@ -501,13 +500,13 @@ irpsairProvider
501500 . _Coerce
502501
503502instance FromJSON
504− IdentitytoolkitRelyingPartyySetAccountInfoRequest
503+ IdentitytoolkitRelyingPartySetAccountInfoRequest
505504 where
506505 parseJSON
507506 = withObject
508− "IdentitytoolkitRelyingPartyySetAccountInfoRequest"
507+ "IdentitytoolkitRelyingPartySetAccountInfoRequest"
509508 (\ o ->
510− IdentitytoolkitRelyingPartyySetAccountInfoRequest <$>
509+ IdentitytoolkitRelyingPartySetAccountInfoRequest <$>
511510 (o .:? "upgradeToFederatedLogin") <*> (o .:? "email")
512511 <*> (o .:? "captchaChallenge")
513512 <*> (o .:? "validSince")
@@ -522,10 +521,10 @@ instance FromJSON
522521 <*> (o .:? "provider" .!= mempty))
523522
524523instance ToJSON
525− IdentitytoolkitRelyingPartyySetAccountInfoRequest
524+ IdentitytoolkitRelyingPartySetAccountInfoRequest
526525 where
527526 toJSON
528− IdentitytoolkitRelyingPartyySetAccountInfoRequest{..}
527+ IdentitytoolkitRelyingPartySetAccountInfoRequest{..}
529528 = object
530529 (catMaybes
531530 [("upgradeToFederatedLogin" .=) <$>
@@ -533,7 +532,7 @@ instance ToJSON
533532 ("email" .=) <$> _irpsairEmail,
534533 ("captchaChallenge" .=) <$> _irpsairCaptchaChallenge,
535534 ("validSince" .=) <$> _irpsairValidSince,
536− ("oobCode" .=) <$> _irpsairOobCode,
535+ ("oobCode" .=) <$> _irpsairOOBCode,
537536 ("password" .=) <$> _irpsairPassword,
538537 ("captchaResponse" .=) <$> _irpsairCaptchaResponse,
539538 ("emailVerified" .=) <$> _irpsairEmailVerified,
@@ -837,8 +836,8 @@ instance ToJSON CreateAuthURIResponse where
837836-- | Request of getting a code for user confirmation (reset password, change
838837-- email etc.)
839838--
840−-- /See:/ 'relyingPartyy' smart constructor.
841−data RelyingPartyy = RelyingPartyy
839+-- /See:/ 'relyingParty' smart constructor.
840+data RelyingParty = RelyingParty
842841 { _rpEmail :: !(Maybe Text)
843842 , _rpKind :: !Text
844843 , _rpUserIP :: !(Maybe Text)
@@ -849,7 +848,7 @@ data RelyingPartyy = RelyingPartyy
849848 , _rpIdToken :: !(Maybe Text)
850849 } deriving (Eq,Read,Show,Data,Typeable,Generic)
851850
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.
853852--
854853-- Use one of the following lenses to modify other fields as desired:
855854--
@@ -868,10 +867,10 @@ data RelyingPartyy = RelyingPartyy
868867-- * 'rpChallenge'
869868--
870869-- * 'rpIdToken'
871−relyingPartyy
872− :: RelyingPartyy
873−relyingPartyy =
874− RelyingPartyy
870+relyingParty
871+ :: RelyingParty
872+relyingParty =
873+ RelyingParty
875874 { _rpEmail = Nothing
876875 , _rpKind = "identitytoolkit#relyingparty"
877876 , _rpUserIP = Nothing
@@ -883,49 +882,49 @@ relyingPartyy =
883882 }
884883
885884-- | The email of the user.
886−rpEmail :: Lens' RelyingPartyy (Maybe Text)
885+rpEmail :: Lens' RelyingParty (Maybe Text)
887886rpEmail = lens _rpEmail (\ s a -> s{_rpEmail = a})
888887
889888-- | The fixed string \"identitytoolkit#relyingparty\".
890−rpKind :: Lens' RelyingPartyy Text
889+rpKind :: Lens' RelyingParty Text
891890rpKind = lens _rpKind (\ s a -> s{_rpKind = a})
892891
893892-- | The IP address of the user.
894−rpUserIP :: Lens' RelyingPartyy (Maybe Text)
893+rpUserIP :: Lens' RelyingParty (Maybe Text)
895894rpUserIP = lens _rpUserIP (\ s a -> s{_rpUserIP = a})
896895
897896-- | The request type.
898−rpRequestType :: Lens' RelyingPartyy (Maybe Text)
897+rpRequestType :: Lens' RelyingParty (Maybe Text)
899898rpRequestType
900899 = lens _rpRequestType
901900 (\ s a -> s{_rpRequestType = a})
902901
903902-- | The recaptcha response from the user.
904−rpCaptchaResp :: Lens' RelyingPartyy (Maybe Text)
903+rpCaptchaResp :: Lens' RelyingParty (Maybe Text)
905904rpCaptchaResp
906905 = lens _rpCaptchaResp
907906 (\ s a -> s{_rpCaptchaResp = a})
908907
909908-- | The new email if the code is for email change.
910−rpNewEmail :: Lens' RelyingPartyy (Maybe Text)
909+rpNewEmail :: Lens' RelyingParty (Maybe Text)
911910rpNewEmail
912911 = lens _rpNewEmail (\ s a -> s{_rpNewEmail = a})
913912
914913-- | The recaptcha challenge presented to the user.
915−rpChallenge :: Lens' RelyingPartyy (Maybe Text)
914+rpChallenge :: Lens' RelyingParty (Maybe Text)
916915rpChallenge
917916 = lens _rpChallenge (\ s a -> s{_rpChallenge = a})
918917
919918-- | The user\'s Gitkit login token for email change.
920−rpIdToken :: Lens' RelyingPartyy (Maybe Text)
919+rpIdToken :: Lens' RelyingParty (Maybe Text)
921920rpIdToken
922921 = lens _rpIdToken (\ s a -> s{_rpIdToken = a})
923922
924−instance FromJSON RelyingPartyy where
923+instance FromJSON RelyingParty where
925924 parseJSON
926− = withObject "RelyingPartyy"
925+ = withObject "RelyingParty"
927926 (\ o ->
928− RelyingPartyy <$>
927+ RelyingParty <$>
929928 (o .:? "email") <*>
930929 (o .:? "kind" .!= "identitytoolkit#relyingparty")
931930 <*> (o .:? "userIp")
@@ -935,8 +934,8 @@ instance FromJSON RelyingPartyy where
935934 <*> (o .:? "challenge")
936935 <*> (o .:? "idToken"))
937936
938−instance ToJSON RelyingPartyy where
939− toJSON RelyingPartyy{..}
937+instance ToJSON RelyingParty where
938+ toJSON RelyingParty{..}
940939 = object
941940 (catMaybes
942941 [("email" .=) <$> _rpEmail, Just ("kind" .= _rpKind),
@@ -949,14 +948,14 @@ instance ToJSON RelyingPartyy where
949948
950949-- | Request to get the account information.
951950--
952−-- /See:/ 'identitytoolkitRelyingPartyyGetAccountInfoRequest' smart constructor.
953−data IdentitytoolkitRelyingPartyyGetAccountInfoRequest = IdentitytoolkitRelyingPartyyGetAccountInfoRequest
951+-- /See:/ 'identitytoolkitRelyingPartyGetAccountInfoRequest' smart constructor.
952+data IdentitytoolkitRelyingPartyGetAccountInfoRequest = IdentitytoolkitRelyingPartyGetAccountInfoRequest
954953 { _irpgairEmail :: !(Maybe [Text])
955954 , _irpgairLocalId :: !(Maybe [Text])
956955 , _irpgairIdToken :: !(Maybe Text)
957956 } deriving (Eq,Read,Show,Data,Typeable,Generic)
958957
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.
960959--
961960-- Use one of the following lenses to modify other fields as desired:
962961--
@@ -965,24 +964,24 @@ data IdentitytoolkitRelyingPartyyGetAccountInfoRequest = IdentitytoolkitRelyingP
965964-- * 'irpgairLocalId'
966965--
967966-- * 'irpgairIdToken'
968−identitytoolkitRelyingPartyyGetAccountInfoRequest
969− :: IdentitytoolkitRelyingPartyyGetAccountInfoRequest
970−identitytoolkitRelyingPartyyGetAccountInfoRequest =
971− IdentitytoolkitRelyingPartyyGetAccountInfoRequest
967+identitytoolkitRelyingPartyGetAccountInfoRequest
968+ :: IdentitytoolkitRelyingPartyGetAccountInfoRequest
969+identitytoolkitRelyingPartyGetAccountInfoRequest =
970+ IdentitytoolkitRelyingPartyGetAccountInfoRequest
972971 { _irpgairEmail = Nothing
973972 , _irpgairLocalId = Nothing
974973 , _irpgairIdToken = Nothing
975974 }
976975
977976-- | The list of emails of the users to inquiry.
978−irpgairEmail :: Lens' IdentitytoolkitRelyingPartyyGetAccountInfoRequest [Text]
977+irpgairEmail :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest [Text]
979978irpgairEmail
980979 = lens _irpgairEmail (\ s a -> s{_irpgairEmail = a})
981980 . _Default
982981 . _Coerce
983982
984983-- | The list of local ID\'s of the users to inquiry.
985−irpgairLocalId :: Lens' IdentitytoolkitRelyingPartyyGetAccountInfoRequest [Text]
984+irpgairLocalId :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest [Text]
986985irpgairLocalId
987986 = lens _irpgairLocalId
988987 (\ s a -> s{_irpgairLocalId = a})
@@ -990,28 +989,28 @@ irpgairLocalId
990989 . _Coerce
991990
992991-- | The GITKit token of the authenticated user.
993−irpgairIdToken :: Lens' IdentitytoolkitRelyingPartyyGetAccountInfoRequest (Maybe Text)
992+irpgairIdToken :: Lens' IdentitytoolkitRelyingPartyGetAccountInfoRequest (Maybe Text)
994993irpgairIdToken
995994 = lens _irpgairIdToken
996995 (\ s a -> s{_irpgairIdToken = a})
997996
998997instance FromJSON
999− IdentitytoolkitRelyingPartyyGetAccountInfoRequest
998+ IdentitytoolkitRelyingPartyGetAccountInfoRequest
1000999 where
10011000 parseJSON
10021001 = withObject
1003− "IdentitytoolkitRelyingPartyyGetAccountInfoRequest"
1002+ "IdentitytoolkitRelyingPartyGetAccountInfoRequest"
10041003 (\ o ->
1005− IdentitytoolkitRelyingPartyyGetAccountInfoRequest <$>
1004+ IdentitytoolkitRelyingPartyGetAccountInfoRequest <$>
10061005 (o .:? "email" .!= mempty) <*>
10071006 (o .:? "localId" .!= mempty)
10081007 <*> (o .:? "idToken"))
10091008
10101009instance ToJSON
1011− IdentitytoolkitRelyingPartyyGetAccountInfoRequest
1010+ IdentitytoolkitRelyingPartyGetAccountInfoRequest
10121011 where
10131012 toJSON
1014− IdentitytoolkitRelyingPartyyGetAccountInfoRequest{..}
1013+ IdentitytoolkitRelyingPartyGetAccountInfoRequest{..}
10151014 = object
10161015 (catMaybes
10171016 [("email" .=) <$> _irpgairEmail,
@@ -1020,37 +1019,37 @@ instance ToJSON
10201019
10211020-- | Respone of getting public keys.
10221021--
1023−-- /See:/ 'identitytoolkitRelyingPartyyGetPublicKeysResponse' smart constructor.
1024−data IdentitytoolkitRelyingPartyyGetPublicKeysResponse =
1025− IdentitytoolkitRelyingPartyyGetPublicKeysResponse
1022+-- /See:/ 'identitytoolkitRelyingPartyGetPublicKeysResponse' smart constructor.
1023+data IdentitytoolkitRelyingPartyGetPublicKeysResponse =
1024+ IdentitytoolkitRelyingPartyGetPublicKeysResponse
10261025 deriving (Eq,Read,Show,Data,Typeable,Generic)
10271026
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.
10291028--
1030−identitytoolkitRelyingPartyyGetPublicKeysResponse
1031− :: IdentitytoolkitRelyingPartyyGetPublicKeysResponse
1032−identitytoolkitRelyingPartyyGetPublicKeysResponse =
1033− IdentitytoolkitRelyingPartyyGetPublicKeysResponse
1029+identitytoolkitRelyingPartyGetPublicKeysResponse
1030+ :: IdentitytoolkitRelyingPartyGetPublicKeysResponse
1031+identitytoolkitRelyingPartyGetPublicKeysResponse =
1032+ IdentitytoolkitRelyingPartyGetPublicKeysResponse
10341033
10351034instance FromJSON
1036− IdentitytoolkitRelyingPartyyGetPublicKeysResponse
1035+ IdentitytoolkitRelyingPartyGetPublicKeysResponse
10371036 where
10381037 parseJSON
10391038 = withObject
1040− "IdentitytoolkitRelyingPartyyGetPublicKeysResponse"
1039+ "IdentitytoolkitRelyingPartyGetPublicKeysResponse"
10411040 (\ o ->
10421041 pure
1043− IdentitytoolkitRelyingPartyyGetPublicKeysResponse)
1042+ IdentitytoolkitRelyingPartyGetPublicKeysResponse)
10441043
10451044instance ToJSON
1046− IdentitytoolkitRelyingPartyyGetPublicKeysResponse
1045+ IdentitytoolkitRelyingPartyGetPublicKeysResponse
10471046 where
10481047 toJSON = const (Object mempty)
10491048
10501049-- | Request to get the IDP authentication URL.
10511050--
1052−-- /See:/ 'identitytoolkitRelyingPartyyCreateAuthURIRequest' smart constructor.
1053−data IdentitytoolkitRelyingPartyyCreateAuthURIRequest = IdentitytoolkitRelyingPartyyCreateAuthURIRequest
1051+-- /See:/ 'identitytoolkitRelyingPartyCreateAuthURIRequest' smart constructor.
1052+data IdentitytoolkitRelyingPartyCreateAuthURIRequest = IdentitytoolkitRelyingPartyCreateAuthURIRequest
10541053 { _irpcaurProviderId :: !(Maybe Text)
10551054 , _irpcaurClientId :: !(Maybe Text)
10561055 , _irpcaurContext :: !(Maybe Text)
@@ -1063,7 +1062,7 @@ data IdentitytoolkitRelyingPartyyCreateAuthURIRequest = IdentitytoolkitRelyingPa
10631062 , _irpcaurOpenidRealm :: !(Maybe Text)
10641063 } deriving (Eq,Read,Show,Data,Typeable,Generic)
10651064
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.
10671066--
10681067-- Use one of the following lenses to modify other fields as desired:
10691068--
@@ -1086,10 +1085,10 @@ data IdentitytoolkitRelyingPartyyCreateAuthURIRequest = IdentitytoolkitRelyingPa
10861085-- * 'irpcaurOAuthScope'
10871086--
10881087-- * 'irpcaurOpenidRealm'
1089−identitytoolkitRelyingPartyyCreateAuthURIRequest
1090− :: IdentitytoolkitRelyingPartyyCreateAuthURIRequest
1091−identitytoolkitRelyingPartyyCreateAuthURIRequest =
1092− IdentitytoolkitRelyingPartyyCreateAuthURIRequest
1088+identitytoolkitRelyingPartyCreateAuthURIRequest
1089+ :: IdentitytoolkitRelyingPartyCreateAuthURIRequest
1090+identitytoolkitRelyingPartyCreateAuthURIRequest =
1091+ IdentitytoolkitRelyingPartyCreateAuthURIRequest
10931092 { _irpcaurProviderId = Nothing
10941093 , _irpcaurClientId = Nothing
10951094 , _irpcaurContext = Nothing
@@ -1105,58 +1104,58 @@ identitytoolkitRelyingPartyyCreateAuthURIRequest =
11051104-- | The IdP ID. For white listed IdPs it\'s a short domain name e.g.
11061105-- google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it\'s
11071106-- the OP identifier.
1108−irpcaurProviderId :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1107+irpcaurProviderId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
11091108irpcaurProviderId
11101109 = lens _irpcaurProviderId
11111110 (\ s a -> s{_irpcaurProviderId = a})
11121111
11131112-- | The relying party OAuth client ID.
1114−irpcaurClientId :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1113+irpcaurClientId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
11151114irpcaurClientId
11161115 = lens _irpcaurClientId
11171116 (\ s a -> s{_irpcaurClientId = a})
11181117
11191118-- | The opaque value used by the client to maintain context info between the
11201119-- authentication request and the IDP callback.
1121−irpcaurContext :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1120+irpcaurContext :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
11221121irpcaurContext
11231122 = lens _irpcaurContext
11241123 (\ s a -> s{_irpcaurContext = a})
11251124
11261125-- | The email or federated ID of the user.
1127−irpcaurIdentifier :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1126+irpcaurIdentifier :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
11281127irpcaurIdentifier
11291128 = lens _irpcaurIdentifier
11301129 (\ s a -> s{_irpcaurIdentifier = a})
11311130
11321131-- | The native app package for OTA installation.
1133−irpcaurOtaApp :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1132+irpcaurOtaApp :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
11341133irpcaurOtaApp
11351134 = lens _irpcaurOtaApp
11361135 (\ s a -> s{_irpcaurOtaApp = a})
11371136
11381137-- | The developer\'s consumer key for OpenId OAuth Extension
1139−irpcaurOAuthConsumerKey :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1138+irpcaurOAuthConsumerKey :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
11401139irpcaurOAuthConsumerKey
11411140 = lens _irpcaurOAuthConsumerKey
11421141 (\ s a -> s{_irpcaurOAuthConsumerKey = a})
11431142
11441143-- | The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for
11451144-- Android, BUNDLE_ID for iOS.
1146−irpcaurAppId :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1145+irpcaurAppId :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
11471146irpcaurAppId
11481147 = lens _irpcaurAppId (\ s a -> s{_irpcaurAppId = a})
11491148
11501149-- | The URI to which the IDP redirects the user after the federated login
11511150-- flow.
1152−irpcaurContinueURI :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1151+irpcaurContinueURI :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
11531152irpcaurContinueURI
11541153 = lens _irpcaurContinueURI
11551154 (\ s a -> s{_irpcaurContinueURI = a})
11561155
11571156-- | Additional oauth scopes, beyond the basid user profile, that the user
11581157-- would be prompted to grant
1159−irpcaurOAuthScope :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1158+irpcaurOAuthScope :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
11601159irpcaurOAuthScope
11611160 = lens _irpcaurOAuthScope
11621161 (\ s a -> s{_irpcaurOAuthScope = a})
@@ -1164,19 +1163,18 @@ irpcaurOAuthScope
11641163-- | Optional realm for OpenID protocol. The sub string
11651164-- \"scheme:\/\/domain:port\" of the param \"continueUri\" is used if this
11661165-- is not set.
1167−irpcaurOpenidRealm :: Lens' IdentitytoolkitRelyingPartyyCreateAuthURIRequest (Maybe Text)
1166+irpcaurOpenidRealm :: Lens' IdentitytoolkitRelyingPartyCreateAuthURIRequest (Maybe Text)
11681167irpcaurOpenidRealm
11691168 = lens _irpcaurOpenidRealm
11701169 (\ s a -> s{_irpcaurOpenidRealm = a})
11711170
11721171instance FromJSON
1173− IdentitytoolkitRelyingPartyyCreateAuthURIRequest
1174− where
1172+ IdentitytoolkitRelyingPartyCreateAuthURIRequest where
11751173 parseJSON
11761174 = withObject
1177− "IdentitytoolkitRelyingPartyyCreateAuthURIRequest"
1175+ "IdentitytoolkitRelyingPartyCreateAuthURIRequest"
11781176 (\ o ->
1179− IdentitytoolkitRelyingPartyyCreateAuthURIRequest <$>
1177+ IdentitytoolkitRelyingPartyCreateAuthURIRequest <$>
11801178 (o .:? "providerId") <*> (o .:? "clientId") <*>
11811179 (o .:? "context")
11821180 <*> (o .:? "identifier")
@@ -1188,10 +1186,9 @@ instance FromJSON
11881186 <*> (o .:? "openidRealm"))
11891187
11901188instance ToJSON
1191− IdentitytoolkitRelyingPartyyCreateAuthURIRequest
1192− where
1189+ IdentitytoolkitRelyingPartyCreateAuthURIRequest where
11931190 toJSON
1194− IdentitytoolkitRelyingPartyyCreateAuthURIRequest{..}
1191+ IdentitytoolkitRelyingPartyCreateAuthURIRequest{..}
11951192 = object
11961193 (catMaybes
11971194 [("providerId" .=) <$> _irpcaurProviderId,
@@ -1207,8 +1204,8 @@ instance ToJSON
12071204
12081205-- | Request to upload user account in batch.
12091206--
1210−-- /See:/ 'identitytoolkitRelyingPartyyUploadAccountRequest' smart constructor.
1211−data IdentitytoolkitRelyingPartyyUploadAccountRequest = IdentitytoolkitRelyingPartyyUploadAccountRequest
1207+-- /See:/ 'identitytoolkitRelyingPartyUploadAccountRequest' smart constructor.
1208+data IdentitytoolkitRelyingPartyUploadAccountRequest = IdentitytoolkitRelyingPartyUploadAccountRequest
12121209 { _irpuarUsers :: !(Maybe [UserInfo])
12131210 , _irpuarMemoryCost :: !(Maybe Int32)
12141211 , _irpuarSaltSeparator :: !(Maybe Word8)
@@ -1217,7 +1214,7 @@ data IdentitytoolkitRelyingPartyyUploadAccountRequest = IdentitytoolkitRelyingPa
12171214 , _irpuarRounds :: !(Maybe Int32)
12181215 } deriving (Eq,Read,Show,Data,Typeable,Generic)
12191216
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.
12211218--
12221219-- Use one of the following lenses to modify other fields as desired:
12231220--
@@ -1232,10 +1229,10 @@ data IdentitytoolkitRelyingPartyyUploadAccountRequest = IdentitytoolkitRelyingPa
12321229-- * 'irpuarSignerKey'
12331230--
12341231-- * 'irpuarRounds'
1235−identitytoolkitRelyingPartyyUploadAccountRequest
1236− :: IdentitytoolkitRelyingPartyyUploadAccountRequest
1237−identitytoolkitRelyingPartyyUploadAccountRequest =
1238− IdentitytoolkitRelyingPartyyUploadAccountRequest
1232+identitytoolkitRelyingPartyUploadAccountRequest
1233+ :: IdentitytoolkitRelyingPartyUploadAccountRequest
1234+identitytoolkitRelyingPartyUploadAccountRequest =
1235+ IdentitytoolkitRelyingPartyUploadAccountRequest
12391236 { _irpuarUsers = Nothing
12401237 , _irpuarMemoryCost = Nothing
12411238 , _irpuarSaltSeparator = Nothing
@@ -1245,49 +1242,48 @@ identitytoolkitRelyingPartyyUploadAccountRequest =
12451242 }
12461243
12471244-- | The account info to be stored.
1248−irpuarUsers :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest [UserInfo]
1245+irpuarUsers :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest [UserInfo]
12491246irpuarUsers
12501247 = lens _irpuarUsers (\ s a -> s{_irpuarUsers = a}) .
12511248 _Default
12521249 . _Coerce
12531250
12541251-- | Memory cost for hash calculation. Used by scrypt similar algorithms.
1255−irpuarMemoryCost :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest (Maybe Int32)
1252+irpuarMemoryCost :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32)
12561253irpuarMemoryCost
12571254 = lens _irpuarMemoryCost
12581255 (\ s a -> s{_irpuarMemoryCost = a})
12591256
12601257-- | The salt separator.
1261−irpuarSaltSeparator :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest (Maybe Word8)
1258+irpuarSaltSeparator :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Word8)
12621259irpuarSaltSeparator
12631260 = lens _irpuarSaltSeparator
12641261 (\ s a -> s{_irpuarSaltSeparator = a})
12651262
12661263-- | The password hash algorithm.
1267−irpuarHashAlgorithm :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest (Maybe Text)
1264+irpuarHashAlgorithm :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Text)
12681265irpuarHashAlgorithm
12691266 = lens _irpuarHashAlgorithm
12701267 (\ s a -> s{_irpuarHashAlgorithm = a})
12711268
12721269-- | The key for to hash the password.
1273−irpuarSignerKey :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest (Maybe Word8)
1270+irpuarSignerKey :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Word8)
12741271irpuarSignerKey
12751272 = lens _irpuarSignerKey
12761273 (\ s a -> s{_irpuarSignerKey = a})
12771274
12781275-- | Rounds for hash calculation. Used by scrypt and similar algorithms.
1279−irpuarRounds :: Lens' IdentitytoolkitRelyingPartyyUploadAccountRequest (Maybe Int32)
1276+irpuarRounds :: Lens' IdentitytoolkitRelyingPartyUploadAccountRequest (Maybe Int32)
12801277irpuarRounds
12811278 = lens _irpuarRounds (\ s a -> s{_irpuarRounds = a})
12821279
12831280instance FromJSON
1284− IdentitytoolkitRelyingPartyyUploadAccountRequest
1285− where
1281+ IdentitytoolkitRelyingPartyUploadAccountRequest where
12861282 parseJSON
12871283 = withObject
1288− "IdentitytoolkitRelyingPartyyUploadAccountRequest"
1284+ "IdentitytoolkitRelyingPartyUploadAccountRequest"
12891285 (\ o ->
1290− IdentitytoolkitRelyingPartyyUploadAccountRequest <$>
1286+ IdentitytoolkitRelyingPartyUploadAccountRequest <$>
12911287 (o .:? "users" .!= mempty) <*> (o .:? "memoryCost")
12921288 <*> (o .:? "saltSeparator")
12931289 <*> (o .:? "hashAlgorithm")
@@ -1295,10 +1291,9 @@ instance FromJSON
12951291 <*> (o .:? "rounds"))
12961292
12971293instance ToJSON
1298− IdentitytoolkitRelyingPartyyUploadAccountRequest
1299− where
1294+ IdentitytoolkitRelyingPartyUploadAccountRequest where
13001295 toJSON
1301− IdentitytoolkitRelyingPartyyUploadAccountRequest{..}
1296+ IdentitytoolkitRelyingPartyUploadAccountRequest{..}
13021297 = object
13031298 (catMaybes
13041299 [("users" .=) <$> _irpuarUsers,
@@ -1310,15 +1305,15 @@ instance ToJSON
13101305
13111306-- | Request to reset the password.
13121307--
1313−-- /See:/ 'identitytoolkitRelyingPartyyResetPasswordRequest' smart constructor.
1314−data IdentitytoolkitRelyingPartyyResetPasswordRequest = IdentitytoolkitRelyingPartyyResetPasswordRequest
1308+-- /See:/ 'identitytoolkitRelyingPartyResetPasswordRequest' smart constructor.
1309+data IdentitytoolkitRelyingPartyResetPasswordRequest = IdentitytoolkitRelyingPartyResetPasswordRequest
13151310 { _irprprEmail :: !(Maybe Text)
13161311 , _irprprNewPassword :: !(Maybe Text)
1317− , _irprprOobCode :: !(Maybe Text)
1312+ , _irprprOOBCode :: !(Maybe Text)
13181313 , _irprprOldPassword :: !(Maybe Text)
13191314 } deriving (Eq,Read,Show,Data,Typeable,Generic)
13201315
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.
13221317--
13231318-- Use one of the following lenses to modify other fields as desired:
13241319--
@@ -1326,64 +1321,62 @@ data IdentitytoolkitRelyingPartyyResetPasswordRequest = IdentitytoolkitRelyingPa
13261321--
13271322-- * 'irprprNewPassword'
13281323--
1329−-- * 'irprprOobCode'
1324+-- * 'irprprOOBCode'
13301325--
13311326-- * 'irprprOldPassword'
1332−identitytoolkitRelyingPartyyResetPasswordRequest
1333− :: IdentitytoolkitRelyingPartyyResetPasswordRequest
1334−identitytoolkitRelyingPartyyResetPasswordRequest =
1335− IdentitytoolkitRelyingPartyyResetPasswordRequest
1327+identitytoolkitRelyingPartyResetPasswordRequest
1328+ :: IdentitytoolkitRelyingPartyResetPasswordRequest
1329+identitytoolkitRelyingPartyResetPasswordRequest =
1330+ IdentitytoolkitRelyingPartyResetPasswordRequest
13361331 { _irprprEmail = Nothing
13371332 , _irprprNewPassword = Nothing
1338− , _irprprOobCode = Nothing
1333+ , _irprprOOBCode = Nothing
13391334 , _irprprOldPassword = Nothing
13401335 }
13411336
13421337-- | The email address of the user.
1343−irprprEmail :: Lens' IdentitytoolkitRelyingPartyyResetPasswordRequest (Maybe Text)
1338+irprprEmail :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
13441339irprprEmail
13451340 = lens _irprprEmail (\ s a -> s{_irprprEmail = a})
13461341
13471342-- | The new password inputted by the user.
1348−irprprNewPassword :: Lens' IdentitytoolkitRelyingPartyyResetPasswordRequest (Maybe Text)
1343+irprprNewPassword :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
13491344irprprNewPassword
13501345 = lens _irprprNewPassword
13511346 (\ s a -> s{_irprprNewPassword = a})
13521347
13531348-- | The confirmation code.
1354−irprprOobCode :: Lens' IdentitytoolkitRelyingPartyyResetPasswordRequest (Maybe Text)
1355−irprprOobCode
1356− = lens _irprprOobCode
1357− (\ s a -> s{_irprprOobCode = a})
1349+irprprOOBCode :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
1350+irprprOOBCode
1351+ = lens _irprprOOBCode
1352+ (\ s a -> s{_irprprOOBCode = a})
13581353
13591354-- | The old password inputted by the user.
1360−irprprOldPassword :: Lens' IdentitytoolkitRelyingPartyyResetPasswordRequest (Maybe Text)
1355+irprprOldPassword :: Lens' IdentitytoolkitRelyingPartyResetPasswordRequest (Maybe Text)
13611356irprprOldPassword
13621357 = lens _irprprOldPassword
13631358 (\ s a -> s{_irprprOldPassword = a})
13641359
13651360instance FromJSON
1366− IdentitytoolkitRelyingPartyyResetPasswordRequest
1367− where
1361+ IdentitytoolkitRelyingPartyResetPasswordRequest where
13681362 parseJSON
13691363 = withObject
1370− "IdentitytoolkitRelyingPartyyResetPasswordRequest"
1364+ "IdentitytoolkitRelyingPartyResetPasswordRequest"
13711365 (\ o ->
1372− IdentitytoolkitRelyingPartyyResetPasswordRequest <$>
1366+ IdentitytoolkitRelyingPartyResetPasswordRequest <$>
13731367 (o .:? "email") <*> (o .:? "newPassword") <*>
13741368 (o .:? "oobCode")
13751369 <*> (o .:? "oldPassword"))
13761370
13771371instance ToJSON
1378− IdentitytoolkitRelyingPartyyResetPasswordRequest
1379− where
1372+ IdentitytoolkitRelyingPartyResetPasswordRequest where
13801373 toJSON
1381− IdentitytoolkitRelyingPartyyResetPasswordRequest{..}
1374+ IdentitytoolkitRelyingPartyResetPasswordRequest{..}
13821375 = object
13831376 (catMaybes
13841377 [("email" .=) <$> _irprprEmail,
13851378 ("newPassword" .=) <$> _irprprNewPassword,
1386− ("oobCode" .=) <$> _irprprOobCode,
1379+ ("oobCode" .=) <$> _irprprOOBCode,
13871380 ("oldPassword" .=) <$> _irprprOldPassword])
13881381
13891382-- | Response of getting account information.
@@ -1439,94 +1432,93 @@ instance ToJSON GetAccountInfoResponse where
14391432-- | Response of getting a code for user confirmation (reset password, change
14401433-- email etc.).
14411434--
1442−-- /See:/ 'getOobConfirmationCodeResponse' smart constructor.
1443−data GetOobConfirmationCodeResponse = GetOobConfirmationCodeResponse
1444− { _goccrKind :: !Text
1445− , _goccrOobCode :: !(Maybe Text)
1435+-- /See:/ 'getOOBConfirmationCodeResponse' smart constructor.
1436+data GetOOBConfirmationCodeResponse = GetOOBConfirmationCodeResponse
1437+ { _goobccrKind :: !Text
1438+ , _goobccrOOBCode :: !(Maybe Text)
14461439 } deriving (Eq,Read,Show,Data,Typeable,Generic)
14471440
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.
14491442--
14501443-- Use one of the following lenses to modify other fields as desired:
14511444--
1452−-- * 'goccrKind'
1445+-- * 'goobccrKind'
14531446--
1454−-- * 'goccrOobCode'
1455−getOobConfirmationCodeResponse
1456− :: GetOobConfirmationCodeResponse
1457−getOobConfirmationCodeResponse =
1458− GetOobConfirmationCodeResponse
1459− { _goccrKind = "identitytoolkit#GetOobConfirmationCodeResponse"
1460− , _goccrOobCode = Nothing
1447+-- * 'goobccrOOBCode'
1448+getOOBConfirmationCodeResponse
1449+ :: GetOOBConfirmationCodeResponse
1450+getOOBConfirmationCodeResponse =
1451+ GetOOBConfirmationCodeResponse
1452+ { _goobccrKind = "identitytoolkit#GetOobConfirmationCodeResponse"
1453+ , _goobccrOOBCode = Nothing
14611454 }
14621455
14631456-- | The fixed string \"identitytoolkit#GetOobConfirmationCodeResponse\".
1464−goccrKind :: Lens' GetOobConfirmationCodeResponse Text
1465−goccrKind
1466− = lens _goccrKind (\ s a -> s{_goccrKind = a})
1457+goobccrKind :: Lens' GetOOBConfirmationCodeResponse Text
1458+goobccrKind
1459+ = lens _goobccrKind (\ s a -> s{_goobccrKind = a})
14671460
14681461-- | The code to be send to the user.
1469−goccrOobCode :: Lens' GetOobConfirmationCodeResponse (Maybe Text)
1470−goccrOobCode
1471− = lens _goccrOobCode (\ s a -> s{_goccrOobCode = a})
1462+goobccrOOBCode :: Lens' GetOOBConfirmationCodeResponse (Maybe Text)
1463+goobccrOOBCode
1464+ = lens _goobccrOOBCode
1465+ (\ s a -> s{_goobccrOOBCode = a})
14721466
1473−instance FromJSON GetOobConfirmationCodeResponse
1467+instance FromJSON GetOOBConfirmationCodeResponse
14741468 where
14751469 parseJSON
1476− = withObject "GetOobConfirmationCodeResponse"
1470+ = withObject "GetOOBConfirmationCodeResponse"
14771471 (\ o ->
1478− GetOobConfirmationCodeResponse <$>
1472+ GetOOBConfirmationCodeResponse <$>
14791473 (o .:? "kind" .!=
14801474 "identitytoolkit#GetOobConfirmationCodeResponse")
14811475 <*> (o .:? "oobCode"))
14821476
1483−instance ToJSON GetOobConfirmationCodeResponse where
1484− toJSON GetOobConfirmationCodeResponse{..}
1477+instance ToJSON GetOOBConfirmationCodeResponse where
1478+ toJSON GetOOBConfirmationCodeResponse{..}
14851479 = object
14861480 (catMaybes
1487− [Just ("kind" .= _goccrKind),
1488− ("oobCode" .=) <$> _goccrOobCode])
1481+ [Just ("kind" .= _goobccrKind),
1482+ ("oobCode" .=) <$> _goobccrOOBCode])
14891483
14901484-- | Request to delete account.
14911485--
1492−-- /See:/ 'identitytoolkitRelyingPartyyDeleteAccountRequest' smart constructor.
1493−newtype IdentitytoolkitRelyingPartyyDeleteAccountRequest = IdentitytoolkitRelyingPartyyDeleteAccountRequest
1486+-- /See:/ 'identitytoolkitRelyingPartyDeleteAccountRequest' smart constructor.
1487+newtype IdentitytoolkitRelyingPartyDeleteAccountRequest = IdentitytoolkitRelyingPartyDeleteAccountRequest
14941488 { _irpdarLocalId :: Maybe Text
14951489 } deriving (Eq,Read,Show,Data,Typeable,Generic)
14961490
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.
14981492--
14991493-- Use one of the following lenses to modify other fields as desired:
15001494--
15011495-- * 'irpdarLocalId'
1502−identitytoolkitRelyingPartyyDeleteAccountRequest
1503− :: IdentitytoolkitRelyingPartyyDeleteAccountRequest
1504−identitytoolkitRelyingPartyyDeleteAccountRequest =
1505− IdentitytoolkitRelyingPartyyDeleteAccountRequest
1496+identitytoolkitRelyingPartyDeleteAccountRequest
1497+ :: IdentitytoolkitRelyingPartyDeleteAccountRequest
1498+identitytoolkitRelyingPartyDeleteAccountRequest =
1499+ IdentitytoolkitRelyingPartyDeleteAccountRequest
15061500 { _irpdarLocalId = Nothing
15071501 }
15081502
15091503-- | The local ID of the user.
1510−irpdarLocalId :: Lens' IdentitytoolkitRelyingPartyyDeleteAccountRequest (Maybe Text)
1504+irpdarLocalId :: Lens' IdentitytoolkitRelyingPartyDeleteAccountRequest (Maybe Text)
15111505irpdarLocalId
15121506 = lens _irpdarLocalId
15131507 (\ s a -> s{_irpdarLocalId = a})
15141508
15151509instance FromJSON
1516− IdentitytoolkitRelyingPartyyDeleteAccountRequest
1517− where
1510+ IdentitytoolkitRelyingPartyDeleteAccountRequest where
15181511 parseJSON
15191512 = withObject
1520− "IdentitytoolkitRelyingPartyyDeleteAccountRequest"
1513+ "IdentitytoolkitRelyingPartyDeleteAccountRequest"
15211514 (\ o ->
1522− IdentitytoolkitRelyingPartyyDeleteAccountRequest <$>
1515+ IdentitytoolkitRelyingPartyDeleteAccountRequest <$>
15231516 (o .:? "localId"))
15241517
15251518instance ToJSON
1526− IdentitytoolkitRelyingPartyyDeleteAccountRequest
1527− where
1519+ IdentitytoolkitRelyingPartyDeleteAccountRequest where
15281520 toJSON
1529− IdentitytoolkitRelyingPartyyDeleteAccountRequest{..}
1521+ IdentitytoolkitRelyingPartyDeleteAccountRequest{..}
15301522 = object
15311523 (catMaybes [("localId" .=) <$> _irpdarLocalId])
15321524
@@ -1596,55 +1588,55 @@ instance ToJSON
15961588
15971589-- | Request to download user account in batch.
15981590--
1599−-- /See:/ 'identitytoolkitRelyingPartyyDownloadAccountRequest' smart constructor.
1600−data IdentitytoolkitRelyingPartyyDownloadAccountRequest = IdentitytoolkitRelyingPartyyDownloadAccountRequest
1591+-- /See:/ 'identitytoolkitRelyingPartyDownloadAccountRequest' smart constructor.
1592+data IdentitytoolkitRelyingPartyDownloadAccountRequest = IdentitytoolkitRelyingPartyDownloadAccountRequest
16011593 { _irpdarNextPageToken :: !(Maybe Text)
16021594 , _irpdarMaxResults :: !(Maybe Word32)
16031595 } deriving (Eq,Read,Show,Data,Typeable,Generic)
16041596
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.
16061598--
16071599-- Use one of the following lenses to modify other fields as desired:
16081600--
16091601-- * 'irpdarNextPageToken'
16101602--
16111603-- * 'irpdarMaxResults'
1612−identitytoolkitRelyingPartyyDownloadAccountRequest
1613− :: IdentitytoolkitRelyingPartyyDownloadAccountRequest
1614−identitytoolkitRelyingPartyyDownloadAccountRequest =
1615− IdentitytoolkitRelyingPartyyDownloadAccountRequest
1604+identitytoolkitRelyingPartyDownloadAccountRequest
1605+ :: IdentitytoolkitRelyingPartyDownloadAccountRequest
1606+identitytoolkitRelyingPartyDownloadAccountRequest =
1607+ IdentitytoolkitRelyingPartyDownloadAccountRequest
16161608 { _irpdarNextPageToken = Nothing
16171609 , _irpdarMaxResults = Nothing
16181610 }
16191611
16201612-- | The token for the next page. This should be taken from the previous
16211613-- response.
1622−irpdarNextPageToken :: Lens' IdentitytoolkitRelyingPartyyDownloadAccountRequest (Maybe Text)
1614+irpdarNextPageToken :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Text)
16231615irpdarNextPageToken
16241616 = lens _irpdarNextPageToken
16251617 (\ s a -> s{_irpdarNextPageToken = a})
16261618
16271619-- | The max number of results to return in the response.
1628−irpdarMaxResults :: Lens' IdentitytoolkitRelyingPartyyDownloadAccountRequest (Maybe Word32)
1620+irpdarMaxResults :: Lens' IdentitytoolkitRelyingPartyDownloadAccountRequest (Maybe Word32)
16291621irpdarMaxResults
16301622 = lens _irpdarMaxResults
16311623 (\ s a -> s{_irpdarMaxResults = a})
16321624
16331625instance FromJSON
1634− IdentitytoolkitRelyingPartyyDownloadAccountRequest
1626+ IdentitytoolkitRelyingPartyDownloadAccountRequest
16351627 where
16361628 parseJSON
16371629 = withObject
1638− "IdentitytoolkitRelyingPartyyDownloadAccountRequest"
1630+ "IdentitytoolkitRelyingPartyDownloadAccountRequest"
16391631 (\ o ->
1640− IdentitytoolkitRelyingPartyyDownloadAccountRequest
1641− <$> (o .:? "nextPageToken") <*> (o .:? "maxResults"))
1632+ IdentitytoolkitRelyingPartyDownloadAccountRequest <$>
1633+ (o .:? "nextPageToken") <*> (o .:? "maxResults"))
16421634
16431635instance ToJSON
1644− IdentitytoolkitRelyingPartyyDownloadAccountRequest
1636+ IdentitytoolkitRelyingPartyDownloadAccountRequest
16451637 where
16461638 toJSON
1647− IdentitytoolkitRelyingPartyyDownloadAccountRequest{..}
1639+ IdentitytoolkitRelyingPartyDownloadAccountRequest{..}
16481640 = object
16491641 (catMaybes
16501642 [("nextPageToken" .=) <$> _irpdarNextPageToken,