applyCredential method

  1. @override
bool applyCredential(
  1. DynCallExecutor executor
)
override

Implementation

@override
bool applyCredential(DynCallExecutor executor) {
  if (executor is DynCallHttpExecutor) {
    executor.httpClient.authorization =
        Authorization.fromCredential(credential);
    return true;
  }

  return false;
}