Plex Authentication using plex.tv
It would be extra to add the plex.tv authentication so Yatse can automatically fetch the domains (local or remote) for the plex server.
I have myself previously implemented it on my software and they are pretty straight forward. Plus, this method is 100% https secure !
To sign in, here are the steps:
1. POST https://plex.tv/users/sign_in.json with parameters user[login]=mylogin&user[password]=mypassword&user[remember_me]=true
2. If succesful, it returns a JSON response with a token to use for the next requests.($json->user->authToken)
3. To get the server list, do a GET request to https://plex.tv/api/resources/?includeHttps=1&X-Plex-Token=myauthToken. It is a XML response.
4. And for each device from the XML response, you can test which URI is available from the current connection
Don't hesitate if you need more info from me !