Unified · Split
| @@ -490,7 +490,7 @@ export class RelayEnvironmentPrincipal extends Context.Service< · 489 unmodified lines | |||
| 490 | RelayEnvironmentPrincipalShape | 490 | RelayEnvironmentPrincipalShape |
| 491 | >()("@t3tools/contracts/relay/RelayEnvironmentPrincipal") {} | 491 | >()("@t3tools/contracts/relay/RelayEnvironmentPrincipal") {} |
| 492 | 492 | ||
| 493 | const RelayClientBearerAuthorization = HttpApiSecurity.bearer.pipe( | 493 | const RelayClientBearerAuthorization = HttpApiSecurity.http({ scheme: "bearer" }).pipe( |
| 494 | HttpApiSecurity.annotate( | 494 | HttpApiSecurity.annotate( |
| 495 | OpenApi.Description, | 495 | OpenApi.Description, |
| 496 | "Clerk session or OAuth bearer token for the signed-in T3 Cloud user.", | 496 | "Clerk session or OAuth bearer token for the signed-in T3 Cloud user.", |
| @@ -505,7 +505,7 @@ export class RelayClientAuth extends HttpApiMiddleware.Service< · 8 unmodified lines | |||
| 505 | security: { clientBearer: RelayClientBearerAuthorization }, | 505 | security: { clientBearer: RelayClientBearerAuthorization }, |
| 506 | }) {} | 506 | }) {} |
| 507 | 507 | ||
| 508 | const RelayEnvironmentBearerAuthorization = HttpApiSecurity.bearer.pipe( | 508 | const RelayEnvironmentBearerAuthorization = HttpApiSecurity.http({ scheme: "bearer" }).pipe( |
| 509 | HttpApiSecurity.annotate( | 509 | HttpApiSecurity.annotate( |
| 510 | OpenApi.Description, | 510 | OpenApi.Description, |
| 511 | "Relay-issued environment credential installed when the environment is linked.", | 511 | "Relay-issued environment credential installed when the environment is linked.", |