Package-level declarations

Types

Link copied to clipboard
@Component
class ConsoleAuthenticationRunner @Autowired constructor(tokenVerifier: AccessTokenVerifier, productUserService: ProductUserService, tokenBlacklistService: TokenBlacklistService)
Link copied to clipboard
@Component
class ConsoleRequestGateway @Autowired constructor(eventPublisher: EventPublisher)
Link copied to clipboard
@Component
class JwksAccessTokenVerifier(@Value(value = "${security.jwt.jwks-uri:http://localhost:8088/.well-known/jwks.json}") jwksUri: String, @Value(value = "${security.jwt.issuer:https://api.cryptotrader.com}") issuer: String, @Value(value = "${security.jwt.issuers:}") issuersCsv: String, @Value(value = "${security.jwt.audience:crypto-trader-api}") audienceCsv: String) : AccessTokenVerifier

Verifies JWT access tokens by resolving the signing key from the API's JWKS endpoint. Keeps a simple in-memory cache of kid -> RSAPublicKey and refreshes on cache miss.