rejectOAuthAuthorization method

Future<void> rejectOAuthAuthorization({
  1. required String requestId,
  2. required String error,
})

Client -> server: reject an OAuth token request in response to a prior inbound request.

Implementation

Future<void> rejectOAuthAuthorization({required String requestId, required String error}) async {
  await _invoke("provide_oauth_authorization", {"request_id": requestId, "code": null, "error": error});
}