credentials property

RequestCredentials get credentials

Returns the credentials mode associated with request, which is a string indicating whether credentials will be sent with the request always, never, or only when sent to a same-origin URL.

MDN Reference

Implementation

_i3.RequestCredentials get credentials =>
    _i3.RequestCredentialsOptions.values.byName(_i4.getProperty(
      this,
      'credentials',
    ));