| 28 | class CurrentUser extends Context.Tag("CurrentUser")<CurrentUser, User>() {} |
| 29 | |
| 30 | class Unauthorized extends Schema.TaggedError<Unauthorized>()("Unauthorized", { |
| 31 | message: Schema.String |
| 32 | }, HttpApiSchema.annotations({ status: 401 })) {} |
| 33 | |
| 34 | export class Authentication extends HttpApiMiddleware.Tag<Authentication>()("Authentication", { |
| 35 | failure: Unauthorized, |
nothing calls this directly
no test coverage detected
searching dependent graphs…