Is it possible to change the BearerAuthSecurity to...
# http4k
r
Is it possible to change the BearerAuthSecurity to use generics instead of Any? actual:
Copy code
BearerAuthSecurity(key: RequestContextLens<Any>, lookup: (String) -> Any?, name: String = "bearerAuth")
suggestions:
Copy code
BearerAuthSecurity(key: RequestContextLens<T>, lookup: (String) -> T?, name: String = "bearerAuth")