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 {
  final payload = {"request_id": requestId, "code": code};
  await room.sendRequest("secrets.provide_oauth_authorization", payload);
}