Skip to main content

accept_code

Function accept_code 

Source
async fn accept_code(
    services: &Services,
    params: &CompleteParams,
) -> Result<Response>
Expand description

Mint the authorization code for an approved sign-in.

The pending request is read here rather than carried across from the page, because the approval arrives as its own HTTP request. Retiring it is release_code’s job.