private AccountAuthenticator getAuthenticator() {
        if (AUTHENTICATOR == null) {
            AUTHENTICATOR = new AccountAuthenticator(this);
        }
        return AUTHENTICATOR;
    }
Authenticator service that returns a subclass of AbstractAccountAuthenticator
in onBind()
app/src/main/java/com/github/pockethub/android/accounts/AccountAuthenticatorService.java