Package ai.tock.bot.connector.teams.auth
Class JWKHandler
-
- All Implemented Interfaces:
public final class JWKHandlerHandle the generation and the refresh of ths jks Those jks are used to check the authenticity of incoming request
-
-
Field Summary
Fields Modifier and Type Field Description private volatile MicrosoftValidSigningKeyscacheKeys
-
Constructor Summary
Constructors Constructor Description JWKHandler()
-
Method Summary
Modifier and Type Method Description final MicrosoftValidSigningKeysgetCacheKeys()final UnitsetCacheKeys(MicrosoftValidSigningKeys cacheKeys)final UnitlaunchJWKCollector(String connectorId, Long msInterval)final UnitstopJWKCollector()final MicrosoftValidSigningKeysgetJWK()-
-
Method Detail
-
getCacheKeys
final MicrosoftValidSigningKeys getCacheKeys()
-
setCacheKeys
final Unit setCacheKeys(MicrosoftValidSigningKeys cacheKeys)
-
launchJWKCollector
final Unit launchJWKCollector(String connectorId, Long msInterval)
-
stopJWKCollector
final Unit stopJWKCollector()
-
getJWK
final MicrosoftValidSigningKeys getJWK()
-
-
-
-