SenzuTokenConfig constructor

const SenzuTokenConfig({
  1. required TokenRefreshCallback onRefresh,
  2. int refreshBeforeExpirySec = 60,
  3. String tokenExpiryHeader = 'x-token-expiry',
})

Implementation

const SenzuTokenConfig({
  required this.onRefresh,
  this.refreshBeforeExpirySec = 60,
  this.tokenExpiryHeader = 'x-token-expiry',
});