Get all custom dashboards
Function is used to check if token is not expired yet. Only checks token, doesn't expires it.
If token is valid returns object, which states how long token will be alive(in seconds). If value is -1, then token never expires.