logout

abstract fun logout(): Completable

Logout user.

Technically this method only wipes session id. If same user login after logout() - userdata stay as is. In case of other user - all previous user data stored locally will be wiped.

NOTE: not available offline.

Return

Completable what emits Completable.complete() based on user profile from server

See also

ResponseCodesConstants

Throws

ServerWrongCodeException

emitted by Completable.onError() with server response code or network exceptions for transport errors