Skip to main content Module oauth Copy item path Source GetAuthorizationQuery π GET /xrpc/bot.did.getAuthorizationβs query parameters.Issued π What issue_approval issued. ListPendingAuthorizationsQuery π GET /xrpc/bot.did.listPendingAuthorizationsβs query parameters.OAuthAuthorizeQuery π GET /oauth/authorizeβs query parameters.OAuthBrowserQuery π GET /oauth/browserβs query parameters.OAuthParForm π The wire fields POST /oauth/par accepts, form-encoded per RFC 9126. OAuthTokenForm π The wire fields POST /oauth/token accepts, form-encoded per RFC 6749
Β§4. Refused π An OAuth refusal on its way out: what the client is sent, and how the
journal says it. See crate::refusal. MAX_AUTHORIZATION_WAIT How long bot.did.listPendingAuthorizations will hold a request open. approve_authorization π POST /xrpc/bot.did.approveAuthorizationauthenticated_client π The confidential client a POST /oauth/token request authenticated as,
or None when it carries no client assertion. authorize_answer π Everything oauth_authorize answers, before the header every answer
carries. authorize_error π authorize_error_page π The page oauth_authorize answers when err stops it before it
finds a sign-in to show. authorize_page π The page GET /oauth/authorize serves for one decision. browser_answer π Everything oauth_browser answers, before the headers every answer
carries. browser_list π The accounts a browser is signed in as, and the cookie again when it
presented an id its session has since replaced. checked_proof π The DPoP proof a request to this authorization server carries, checked
against the absolute URL of path on this deployment. confirm_remembered π Approves the sign-in request_uri names without asking the account, when
this load meets every rule of
crate::oauth::authorize::confirms_unasked and the e-stop is clear.
crate::oauth::authorize::answer then hands this browser the code. create_browser_sign_in π POST /xrpc/bot.did.createBrowserSignIndecision_by_token π Reads one decision by its approval token, for the account the presented
credential authenticates as. decline_authorization π POST /xrpc/bot.did.declineAuthorizationdeployment_did π This deploymentβs own DID, as a policy subject names it: empty before
the zoneβs document exists. followed_from_here π Whether Sec-Fetch-Site lets a sign-in link through: absent, none for
a link a person or a tool opened directly, or same-origin. get_authorization π GET /xrpc/bot.did.getAuthorizationissue_approval π Approves record for did by spending token: issues the code, builds
the clientβs redirect, and settles the record, holding the redirect when
a browser carries it. landing_headers π response, uncached and under the landing pageβs content security
policy, as every answer from the two sign-in routes is, a redirect too.list_pending_authorizations π GET /xrpc/bot.did.listPendingAuthorizationsnever_cached π Marks every answer from POST /oauth/par and POST /oauth/token
uncacheable, success and refusal alike. oauth_authorize π GET /oauth/authorizeoauth_browser π GET /oauth/browseroauth_par π POST /oauth/paroauth_protected_resource_metadata π GET /.well-known/oauth-protected-resourceoauth_server_metadata π GET /.well-known/oauth-authorization-serveroauth_token π POST /oauth/tokenoauth_token_response π on_issuer_host π Whether a request was made to the issuerβs own host, as its Host or its
HTTP/2 authority names it. par_refusal π What a refused push answers, and how loudly it is written. pending_authorizations π The one answer shape bot.did.listPendingAuthorizations has, built in
one place so the waitβs three exits cannot drift apart. see_other π 303 See Other to location, which a browser follows with a GET
whatever method brought it here. placeholder heads the page if it
cannot.token_refusal π What a refused exchange or refresh answers, and how loudly it is
written. too_many_oauth_requests π The 429 the unauthenticated OAuth endpoints answer with; see
OAuthError::rate_limited . with_browser_cookie π response, setting crate::oauth::browser::COOKIE to browserβs
current session id. placeholder heads the page if it cannot.