public interface BynderService
AssetBankService.| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<String> |
getAccessToken()
Gets temporary access token pair once the user has already accessed the authorise URL and
logged in through the browser.
|
AssetBankService |
getAssetBankService()
Gets an instance of the asset bank service to perform Bynder Asset Bank operations.
|
URL |
getAuthoriseUrl(String callbackUrl)
Gets the URL needed to open the browser so the user can login and authorise the temporary
request token pair.
|
io.reactivex.Observable<String> |
getRequestToken()
Gets temporary request token pair used to build the authorise URL and login through the
browser.
|
io.reactivex.Observable<User> |
login(String username,
String password)
Deprecated.
|
void |
logout()
Logout resets your credentials.
|
@Deprecated io.reactivex.Observable<User> login(String username, String password) throws IllegalAccessException
Settings.username - Username/email.password - Password.User information.IllegalAccessException - Check Utils.convertField(Field, Object, Map) for more
information.io.reactivex.Observable<String> getRequestToken()
URL getAuthoriseUrl(String callbackUrl) throws MalformedURLException
callbackUrl - Callback URL to be redirected to when login is successful.MalformedURLException - If no protocol is specified, or an unknown protocol is found,
or spec is null while instantiating the URL.io.reactivex.Observable<String> getAccessToken()
void logout()
Settings have full permission, even after this call, calls to any API endpoint will
still work.AssetBankService getAssetBankService()
AssetBankService.Copyright © 2017. All rights reserved.