tock / ai.tock.bot.connector.teams.auth / JWKHandler

JWKHandler

class JWKHandler (source)

Handle the generation and the refresh of ths jks Those jks are used to check the authenticity of incoming request

Constructors

<init>

Handle the generation and the refresh of ths jks Those jks are used to check the authenticity of incoming request

JWKHandler()

Properties

cacheKeys

var cacheKeys: MicrosoftValidSigningKeys?

Functions

getJWK

fun getJWK(): MicrosoftValidSigningKeys?

launchJWKCollector

fun launchJWKCollector(connectorId: String, msInterval: Long = 23 * 60 * 60 * 1000L): Unit

stopJWKCollector

fun stopJWKCollector(): Unit