useAuthorization property

bool useAuthorization
final

Indicates if the authorization header (e.g., JWT) will be part of the cache key.

If your JWT refresh time is very short, setting this flag to true will invalidate all cache whenever the JWT is updated. Set it to false to exclude the JWT from the cache key structure.

Implementation

final bool useAuthorization;