@Override
    public void onCreate() {
        // Create a new authenticator object
        mAuthenticator = new SunshineAuthenticator(this);
    }
The service which allows the sync adapter framework to access the authenticator.
app/src/main/java/com/example/android/sunshine/app/sync/SunshineAuthenticatorService.java