|
58 | 58 | STATE_KEY_MFA = "requester-authn-class-ref" |
59 | 59 |
|
60 | 60 |
|
61 | | -class StepUpError(SATOSAError): |
| 61 | +class StepUpError(SATOSAError): # type: ignore[misc] |
62 | 62 | """Generic error for this plugin.""" |
63 | 63 |
|
64 | 64 |
|
@@ -104,7 +104,7 @@ class StepupParams(BaseModel): |
104 | 104 |
|
105 | 105 |
|
106 | 106 | # Applied to response from IDP |
107 | | -class StepUp(ResponseMicroService): |
| 107 | +class StepUp(ResponseMicroService): # type: ignore[misc] |
108 | 108 | """ |
109 | 109 | A micro-SP just to handle the communication towards the StepUp Service for SFO. |
110 | 110 |
|
@@ -512,7 +512,7 @@ def register_endpoints(self) -> list[tuple[str, CallbackCallSignature]]: |
512 | 512 |
|
513 | 513 |
|
514 | 514 | # applied to incoming request from SP |
515 | | -class AuthnContext(RequestMicroService): |
| 515 | +class AuthnContext(RequestMicroService): # type: ignore[misc] |
516 | 516 | """ |
517 | 517 | A micro-service that runs when the authnRequest is first received from the SP. |
518 | 518 |
|
@@ -634,7 +634,7 @@ def get_loa_settings_for_entity_id( |
634 | 634 | return None |
635 | 635 |
|
636 | 636 |
|
637 | | -class StepupSAMLBackend(SAMLBackend): |
| 637 | +class StepupSAMLBackend(SAMLBackend): # type: ignore[misc] |
638 | 638 | """ |
639 | 639 | A SAML backend to request custom authn context class references from IdP:s with certain entity attributes. |
640 | 640 | """ |
@@ -665,7 +665,7 @@ def authn_request(self, context: satosa.context.Context, entity_id: str) -> SeeO |
665 | 665 | return super().authn_request(context, entity_id) |
666 | 666 |
|
667 | 667 |
|
668 | | -class RewriteAuthnContextClass(ResponseMicroService): |
| 668 | +class RewriteAuthnContextClass(ResponseMicroService): # type: ignore[misc] |
669 | 669 | """ |
670 | 670 | When we receive a response from an IdP, we check if we have configuration specifying |
671 | 671 | 'normalisation' of the authn context class reference in our MFA configuration. |
|
0 commit comments