Skip to main content

REVALIDATION_PATH

Constant REVALIDATION_PATH 

Source
pub const REVALIDATION_PATH: &str = "/user/installations";
Expand description

What a 401 re-validates the held credential against.

GET /user/installations rather than GET /user, because it is the call the D18 spike actually made with a user-to-server token and observed 200 from (docs/spikes/d18-org-jit-verification.md, “The permission that authorized it”), and because a successful re-validation then carries the same answer AuthenticatedClient::discover_installations needs.