Skip to main content

device_authorization_route

Function device_authorization_route 

Source
pub(crate) async fn device_authorization_route(
    __arg0: State<State>,
    __arg1: ClientIp,
    __arg2: Form<DeviceAuthRequest>,
) -> impl IntoResponse
Expand description

RFC 8628 §3.1: the device authorization endpoint. Mints a device_code / user_code pair and returns the verification URIs for the user.