Module: AtprotoAuth::PAR
- Defined in:
- lib/atproto_auth/par.rb,
lib/atproto_auth/par/client.rb,
lib/atproto_auth/par/request.rb,
lib/atproto_auth/par/response.rb,
lib/atproto_auth/par/client_assertion.rb
Overview
Handles creation and processing of Pushed Authorization Requests (PAR) according to RFC 9126 and AT Protocol OAuth requirements.
PAR is mandatory in AT Protocol OAuth. Before redirecting a user to the authorization endpoint, clients must first submit all authorization parameters via HTTP POST to the PAR endpoint. Only the returned request_uri and client_id are then included in the authorization redirect.
Defined Under Namespace
Classes: Client, ClientAssertion, Error, Request, Response
Constant Summary collapse
- CLIENT_ASSERTION_TYPE =
"urn:ietf:params:oauth:client-assertion-type:jwt-bearer"