provideOAuthAuthorization method

Future<void> provideOAuthAuthorization({
  1. required String requestId,
  2. required String code,
})

Client -> server: Provide the OAuth token in response to a prior inbound request.

Implementation

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