3/23/2023 0 Comments Emby client windowsIf the user closes the app without logging out, you can skip this and save the token for future use.ĭuring normal application usage, if any http requests fail with a 401 response status code, this is generally an indication that the access token has been revoked. If the user explicitly logs out, send a POST to /Sessions/Logout. This should be included in all subsequent Http requests using the header X-Emby-Token. The return result object will have an AccessToken property. A 200 status code indicates success, while anything in the 400 or 500 range indicates failure. Authenticating a userĪuthenticate using /Users/AuthenticateByName. The application must authenticate regardless of this value. This is used to determine if the user should be prompted to input a password. See images.Įach user has a HasPassword property. The image can then be downloaded using /Users/. If there are no records returned then present a username/password text entry form.įor each user, if PrimaryImageTag has a value, that indicates the user has an image. This is up to the application developer to decide. If there are records returned, the app has the option of displaying the users in a visual login screen. This can be managed by the server administrator by editing user permissions for each user. Public users are users that the server admin has allowed to be displayed visually on the login screen. Make a call to /Users/Public to get all public users. The dashboard currently displays customized icons for the following clients:Īndroid, Chromecast, Dashboard, Dlna, iOS, Emby Theater, Emby Classic, Roku, Windows Phone, Windows RT, Kodi (Formerly known as Xbmc) User Login The type of client (Android, Dashboard, Dlna, iOS, PC, WindowsPhone, WindowsRT, other) The Id of the current logged in user (if there is one) Please also seeĪdd the following request header on every request:Īuthorization=Emby UserId="e8837bc1-ad67-520e-8cd2-f629e3155721",Ĭlient="Android", Device="Samsung Galaxy SIII", DeviceId="xxx", Version="1.0.0.0" The Emby API supports two different authentication schemes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |