bugraoz93 commented on code in PR #55506:
URL: https://github.com/apache/airflow/pull/55506#discussion_r2342148777
##########
providers/keycloak/src/airflow/providers/keycloak/auth_manager/keycloak_auth_manager.py:
##########
@@ -366,3 +374,17 @@ def _get_headers(access_token):
"Authorization": f"Bearer {access_token}",
"Content-Type": "application/x-www-form-urlencoded",
}
+
+ @staticmethod
+ def _token_expired(token: str) -> bool:
Review Comment:
This seems generic for a JWT token expiration time, maybe good to keep it in
BaseAuthManager. Small nit 🙂
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]