pub async fn app(
pool: PgPool,
verifier: TokenVerifier,
config: Config,
) -> Result<Router, Error>Expand description
The service, with its background tasks started on the current runtime.
Accepts tokens that verifier vouches for.
pub async fn app(
pool: PgPool,
verifier: TokenVerifier,
config: Config,
) -> Result<Router, Error>The service, with its background tasks started on the current runtime.
Accepts tokens that verifier vouches for.