auth method
Authenticates the request with JWT.
Implementation
@Deprecated("Use setAuth() instead")
PostgrestClient auth(String token) {
headers['Authorization'] = 'Bearer $token';
return this;
}
Authenticates the request with JWT.
@Deprecated("Use setAuth() instead")
PostgrestClient auth(String token) {
headers['Authorization'] = 'Bearer $token';
return this;
}