package com.auth0.android.lock;

import androidx.annotation.NonNull;

import com.auth0.android.authentication.AuthenticationException;
import com.auth0.android.callback.Callback;
import com.auth0.android.provider.AuthCallback;
import com.auth0.android.result.Credentials;


public class WebCallbackWrapper implements Callback<Credentials, AuthenticationException> {

    private final AuthCallback baseCallback;

    public WebCallbackWrapper(@NonNull AuthCallback callback) {
        this.baseCallback = callback;
    }

    @Override
    public void onFailure(@NonNull AuthenticationException error) {
        baseCallback.onFailure(error);
    }

    @Override
    public void onSuccess(@NonNull Credentials credentials) {
        baseCallback.onSuccess(credentials);
    }
}

@@ -267,23 +267,125 @@
 ials;%0A%0A%0A
-public 
+/**%0A * Internal class, meant to wrap a %7B@link AuthCallback%7D instance and expose it as a %7B@link Callback%7D%0A */%0A
 class We

make WebCallbackWrapper internal