How can we help?


API call: auth tokens.

Comments

3 comments

  • Official comment
    Avatar
    RainMachine Nicholas

    Yes, token will still be valid.

    Comment actions Permalink
  • Avatar
    RainMachine Nicholas

    If you enable "Remember me" during the auth/login call the token will expire after 5 years. Without remember me, the token expires in 1 day. 

    If you use the API test page (https://ip:8080/api/4/) you can see the token expiring date on browser console->resources->cookies.

     

    Regards,

    Nicholas

    0
    Comment actions Permalink
  • Avatar
    dexterdom

    Hi Nicholas, would the token still be valid if the RainMachine is rebooted or loses power? Or would a new one need to be generated?

    0
    Comment actions Permalink

Please sign in to leave a comment.