Skip to content

Latest commit

 

History

History
231 lines (143 loc) · 5.69 KB

File metadata and controls

231 lines (143 loc) · 5.69 KB

Site

First Edition.

Copyright © 2023, JUXT LTD. All Rights Reserved.

Published by JUXT Text.

This book is written with Asciidoctor.

Available in PDF, ebook and HTML editions.

1. Values & Principles

Getting Started

Creating a Petstore API service

Foundations

In keeping with our value of Understanding, we recommended that you invest time in building up both your working and conceptual knowledge of Site.

The chapters in this part of the book will help to build up your knowledge of Site 'from scratch'.

Authentication

Authentication is the process by which a user is identified.

In Site, Operations are integrated with authorization rules, providing a rich access control layer between users and data.

Most authorization rules refer to the Subject of the request. To identify the Subject, we need to authenticate each request.

Site supports two types of user authentication:

HTTP Authentication, which introduces the concept of protection spaces, specified in cite:[rfc7235], is described in [ch-http-authentication]. An example of HTTP Authentication is the 'Basic' authentication scheme, which is covered in [ch-basic-authentication].

Session-based Authentication, which we describe in [ch-session-authentication], opens up numerous additional options for authentication. One such option is authenticating via an HTML form, which is covered in [ch-form-based-authentication]. Another is with the OpenID Connect protocol, which is covered in [ch-openid] with a worked example.

Applications and APIs

First, in [ch-applications], we introduce applications and create the required actions.

We start by configuring our authorization server in [ch-authorization-server].

Then, in [ch-first-application], we create an example application.

Deployment

This is the forthcoming part on Site deployment.

Design Principles

Miscellany

Appendices

Backmatter

References

bibliography::[]

Index

Colophon

Note
TODO