emits only values of a logged in user . the returned observable may never emit . concode_field_sep PlaceHolder placeHolder concode_field_sep void logout concode_elem_sep Observable<User> loggedOutUser concode_elem_sep User getUser concode_elem_sep Observable<User> observable concode_elem_sep void refresh concode_elem_sep boolean exists concode_elem_sep Observable<Boolean> isLoggedIn concode_elem_sep void login concode_elem_sep String getAccessToken
Observable < User > function ( ) { return observable ( ) . filter ( ObjectUtils :: isNotNull ) ; }