SharingEndpoints

com.alecdorrington.hecate.server.tapir.SharingEndpoints
final class SharingEndpoints(sharing: SharingService, kind: String, endpoints: Endpoints, auth: AuthEndpoints)

A server of the endpoints in SharingApi for one kind of resource, backed by a SharingService.

Value parameters

auth

The endpoints that resolve sessions to callers and word refusals.

endpoints

The endpoints of that kind, from SharingApi.of.

kind

The kind of resource, as the host names it.

sharing

The service that answers the requests.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

lazy val api: List[ServerEndpoint[Any, IO]]

The endpoints to serve.

The endpoints to serve.

Attributes

lazy val grant: ServerEndpoint[Any, IO]

The server endpoint for SharingApi.Endpoints.grant.

The server endpoint for SharingApi.Endpoints.grant.

Attributes

lazy val grants: List[ServerEndpoint[Any, IO]]

The endpoints of the resource's grants alone, for a kind whose invite links are served otherwise, as a group's are by GroupEndpoints.

The endpoints of the resource's grants alone, for a kind whose invite links are served otherwise, as a group's are by GroupEndpoints.

Attributes

lazy val list: ServerEndpoint[Any, IO]

The server endpoint for SharingApi.Endpoints.list.

The server endpoint for SharingApi.Endpoints.list.

Attributes

lazy val revoke: ServerEndpoint[Any, IO]

The server endpoint for SharingApi.Endpoints.revoke.

The server endpoint for SharingApi.Endpoints.revoke.

Attributes