pub trait ProviderExtDeviceAuthorizationGrant: Provider + DynClone {
// Required method
fn device_authorization_endpoint_url(&self) -> &Url;
// Provided methods
fn scopes_default(&self) -> Option<Vec<<Self as Provider>::Scope>> { ... }
fn device_authorization_request_body_extra(
&self
) -> Option<Map<String, Value>> { ... }
fn device_authorization_request_rendering(
&self,
_body: &DeviceAuthorizationRequestBody<<Self as Provider>::Scope>
) -> Option<Result<Request<Body>, Box<dyn Error + Send + Sync + 'static>>> { ... }
fn device_authorization_response_parsing(
&self,
_response: &Response<Body>
) -> Option<Result<Result<DeviceAuthorizationResponseSuccessfulBody, DeviceAuthorizationResponseErrorBody>, Box<dyn Error + Send + Sync + 'static>>> { ... }
fn device_access_token_request_body_extra(
&self,
_body: &BodyWithDeviceAuthorizationGrant,
_device_authorization_response_body: &DeviceAuthorizationResponseSuccessfulBody
) -> Option<Map<String, Value>> { ... }
fn device_access_token_request_rendering(
&self,
_body: &BodyWithDeviceAuthorizationGrant,
_device_authorization_response_body: &DeviceAuthorizationResponseSuccessfulBody
) -> Option<Result<Request<Body>, Box<dyn Error + Send + Sync + 'static>>> { ... }
fn device_access_token_response_parsing(
&self,
_response: &Response<Body>
) -> Option<Result<Result<Result<AccessTokenResponseSuccessfulBody<<Self as Provider>::Scope>, AccessTokenResponseErrorBody>, DeviceAccessTokenEndpointRetryReason>, Box<dyn Error + Send + Sync + 'static>>> { ... }
}
Performs copy-assignment from
source
.
Read more
Performs copy-assignment from
source
.
Read more
Performs copy-assignment from
source
.
Read more
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more