You are viewing an old version of this content. View the current version.
Compare with Current View Version History
« Previous Version 14 Next »
The AminoTV API currently has three authentication schemes:
Our upcoming AndroidTV SDK has support for logging in and managing service authentication.
sdk.user().login("userName", "password") .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .subscribe( response -> Toast.makeText(this, "Login successful", Toast.LENGTH_LONG).show(), t -> Log.e(TAG, "Failed to login", t)));
The official AminoTV SDK has support for logging in and managing service authentication.
Please see the documentation at https://hybridteam.aminocom.com/sdk/api/modules/user/login
sdk.user.login('me@example.com', '12345678') .then(() => { // Login successful }) .catch(error => { // Login failed });