authorizeAndExchangeCode method

Future<AuthorizationTokenResponse> authorizeAndExchangeCode({
  1. required String clientID,
  2. required AuthEndpointsData authEndpointsData,
})

Implementation

Future<AuthorizationTokenResponse> authorizeAndExchangeCode({
  required String clientID,
  required AuthEndpointsData authEndpointsData,
}) async {
  final tokenResponse = await _authProvider.authorizeAndExchangeCode(
    clientID: clientID,
    authEndpointsData: authEndpointsData,
  );
  return tokenResponse;
}