Generate standard token via a function
Generate standard token via a function

- reduces code repetiton
- can't be a class variable because the time needs to be updated
  everytime it is accessed.

apel/rest,apel/rest