isPetitionAuth

open fun isPetitionAuth(url: String, headers: Headers): Boolean

Indicate that this petition is authenticate or not It means if for example login get an authenticator error the controller doesn't execute refrestoken

By default the library search token at the headers, but this function will be exposed to overrides if it needs.

Parameters

url

complete url will

headers

all headers petition