@@ -292,26 +292,26 @@ class CustomMessageTriggerEventResponse(DictWrapper):
292
292
def sms_message (self ) -> str :
293
293
return self ["response" ]["smsMessage" ]
294
294
295
- @property
296
- def email_message (self ) -> str :
297
- return self ["response" ]["emailMessage" ]
298
-
299
- @property
300
- def email_subject (self ) -> str :
301
- return self ["response" ]["emailSubject" ]
302
-
303
295
@sms_message .setter
304
296
def sms_message (self , value : str ):
305
297
"""The custom SMS message to be sent to your users.
306
298
Must include the codeParameter value received in the request."""
307
299
self ["response" ]["smsMessage" ] = value
308
300
301
+ @property
302
+ def email_message (self ) -> str :
303
+ return self ["response" ]["emailMessage" ]
304
+
309
305
@email_message .setter
310
306
def email_message (self , value : str ):
311
307
"""The custom email message to be sent to your users.
312
308
Must include the codeParameter value received in the request."""
313
309
self ["response" ]["emailMessage" ] = value
314
310
311
+ @property
312
+ def email_subject (self ) -> str :
313
+ return self ["response" ]["emailSubject" ]
314
+
315
315
@email_subject .setter
316
316
def email_subject (self , value : str ):
317
317
"""The subject line for the custom message."""
@@ -471,26 +471,26 @@ class ClaimsOverrideDetails(DictWrapper):
471
471
def claims_to_add_or_override (self ) -> Optional [Dict [str , str ]]:
472
472
return self .get ("claimsToAddOrOverride" )
473
473
474
- @property
475
- def claims_to_suppress (self ) -> Optional [List [str ]]:
476
- return self .get ("claimsToSuppress" )
477
-
478
- @property
479
- def group_configuration (self ) -> Optional [GroupOverrideDetails ]:
480
- group_override_details = self .get ("groupOverrideDetails" )
481
- return None if group_override_details is None else GroupOverrideDetails (group_override_details )
482
-
483
474
@claims_to_add_or_override .setter
484
475
def claims_to_add_or_override (self , value : Dict [str , str ]):
485
476
"""A map of one or more key-value pairs of claims to add or override.
486
477
For group related claims, use groupOverrideDetails instead."""
487
478
self ._data ["claimsToAddOrOverride" ] = value
488
479
480
+ @property
481
+ def claims_to_suppress (self ) -> Optional [List [str ]]:
482
+ return self .get ("claimsToSuppress" )
483
+
489
484
@claims_to_suppress .setter
490
485
def claims_to_suppress (self , value : List [str ]):
491
486
"""A list that contains claims to be suppressed from the identity token."""
492
487
self ._data ["claimsToSuppress" ] = value
493
488
489
+ @property
490
+ def group_configuration (self ) -> Optional [GroupOverrideDetails ]:
491
+ group_override_details = self .get ("groupOverrideDetails" )
492
+ return None if group_override_details is None else GroupOverrideDetails (group_override_details )
493
+
494
494
@group_configuration .setter
495
495
def group_configuration (self , value : Dict [str , Any ]):
496
496
"""The output object containing the current group configuration.
@@ -609,25 +609,25 @@ class DefineAuthChallengeTriggerEventResponse(DictWrapper):
609
609
def challenge_name (self ) -> str :
610
610
return self ["response" ]["challengeName" ]
611
611
612
- @property
613
- def fail_authentication (self ) -> bool :
614
- return bool (self ["response" ]["failAuthentication" ])
615
-
616
- @property
617
- def issue_tokens (self ) -> bool :
618
- return bool (self ["response" ]["issueTokens" ])
619
-
620
612
@challenge_name .setter
621
613
def challenge_name (self , value : str ):
622
614
"""A string containing the name of the next challenge.
623
615
If you want to present a new challenge to your user, specify the challenge name here."""
624
616
self ["response" ]["challengeName" ] = value
625
617
618
+ @property
619
+ def fail_authentication (self ) -> bool :
620
+ return bool (self ["response" ]["failAuthentication" ])
621
+
626
622
@fail_authentication .setter
627
623
def fail_authentication (self , value : bool ):
628
624
"""Set to true if you want to terminate the current authentication process, or false otherwise."""
629
625
self ["response" ]["failAuthentication" ] = value
630
626
627
+ @property
628
+ def issue_tokens (self ) -> bool :
629
+ return bool (self ["response" ]["issueTokens" ])
630
+
631
631
@issue_tokens .setter
632
632
def issue_tokens (self , value : bool ):
633
633
"""Set to true if you determine that the user has been sufficiently authenticated by
@@ -695,21 +695,17 @@ class CreateAuthChallengeTriggerEventResponse(DictWrapper):
695
695
def public_challenge_parameters (self ) -> Dict [str , str ]:
696
696
return self ["response" ]["publicChallengeParameters" ]
697
697
698
- @property
699
- def private_challenge_parameters (self ) -> Dict [str , str ]:
700
- return self ["response" ]["privateChallengeParameters" ]
701
-
702
- @property
703
- def challenge_metadata (self ) -> str :
704
- return self ["response" ]["challengeMetadata" ]
705
-
706
698
@public_challenge_parameters .setter
707
699
def public_challenge_parameters (self , value : Dict [str , str ]):
708
700
"""One or more key-value pairs for the client app to use in the challenge to be presented to the user.
709
701
This parameter should contain all of the necessary information to accurately present the challenge to
710
702
the user."""
711
703
self ["response" ]["publicChallengeParameters" ] = value
712
704
705
+ @property
706
+ def private_challenge_parameters (self ) -> Dict [str , str ]:
707
+ return self ["response" ]["privateChallengeParameters" ]
708
+
713
709
@private_challenge_parameters .setter
714
710
def private_challenge_parameters (self , value : Dict [str , str ]):
715
711
"""This parameter is only used by the Verify Auth Challenge Response Lambda trigger.
@@ -719,6 +715,10 @@ def private_challenge_parameters(self, value: Dict[str, str]):
719
715
for the question."""
720
716
self ["response" ]["privateChallengeParameters" ] = value
721
717
718
+ @property
719
+ def challenge_metadata (self ) -> str :
720
+ return self ["response" ]["challengeMetadata" ]
721
+
722
722
@challenge_metadata .setter
723
723
def challenge_metadata (self , value : str ):
724
724
"""Your name for the custom challenge, if this is a custom challenge."""
0 commit comments