The example you are looking for is unfortunately not yet available. We recommend checking out one of the other examples (e.g. NodeJS). Ory SDKs are already available for most programming languages:
For more information on the Ory Cloud SDK and Services and please see the Services & APIs docs.
You can use the Ory Proxy approach outlined in the Build a Server-Side Web App with Ory for all server-side and backend / API-only applicaitons. All you need to do is verify the JSON Web Token with the Ory Proxy to see if the request is authenticated!
If you are implementing a mobile or native app, please head over to Build a Mobile / Native App with Ory