Next: , Previous: , Up: Server endpoints   [Contents][Index]


12.3 Request authentication

The (webid-oidc server endpoint authentication) defines an endpoint that authentifies the user and passes the annotated request to a backend endpoint.

Class: <authenticator> (<endpoint>) backend server-uri

The authenticator calls the backend endpoint once it has authentified the user. If the authentication is successful, the request is annotated with a 'user entry in the alist table containing the URI of the user. Otherwise, it is passed as is.

To check the validity of the DPoP proof, the endpoint must know the public name of the server that is running, server-uri.

It can be constructed with the #:backend and #:server-uri keyword arguments, respectively an endpoint and an URI.

Generic: backend authenticator

Return the backend endpoint of authenticator.

Generic: server-uri authenticator

Return the public server URI of authenticator.