Class

DecafAuthHandler

DecafAuthHandler()

Simple auth handler that reads a role string from the Authorization: Bearer <role> header.

Only overrides AuthHandler.extractFromRequest to return the bearer token as both the user identifier and the single role. The base class bindToContext (ctx.accumulate(data)) is sufficient — the transformer/adapter is responsible for mapping context fields to adapter-specific keys like UUID.