Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 603 Bytes

File metadata and controls

21 lines (12 loc) · 603 Bytes

Deno

A Deno server handling requests with Cloud Auth looks like this.

npm create feathersdev@latest server --platform deno --app-id "<your-app-id>"

Verifier

An authenticateRequest function that validates an incoming web standard request can be implemented in src/authenticate.ts like this:

<<< @/examples/server/deno/src/authenticate.ts

Server

A Deno server can then use it in src/server.ts like this:

<<< @/examples/server/deno/src/server.ts

The full Deno example can be found here.