withCredentials method

FusionAuthRESTClient withCredentials(
  1. HttpClientCredentials value
)

Sets request's credentials.

@param value A string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL.

Implementation

FusionAuthRESTClient withCredentials(HttpClientCredentials value) {
  credentials = value;
  return this;
}