class FigShareClient extends OAuth20Client {

    /** {@inheritDoc} */
    @Override
    protected void internalInit(final boolean forceReinit) {<FILL_FUNCTION_BODY>}
}

        val api = new FigShareApi20();
        configuration.setApi(api);

        val profileDefinition = new FigShareProfileDefinition();

        profileDefinition.setProfileId("id");

        configuration.setProfileDefinition(profileDefinition);
        configuration.setScope("all");
        configuration.setWithState(true);

        setProfileCreatorIfUndefined(new FigShareProfileCreator(configuration, this));
        setLogoutActionBuilderIfUndefined((ctx, profile, targetUrl) -> Optional
            .of(HttpActionHelper.buildRedirectUrlAction(ctx.webContext(), "https://figshare.com/account/logout")));

        super.internalInit(forceReinit);
    
<methods>public non-sealed void <init>() ,public java.lang.String getKey() ,public java.lang.String getSecret() ,public void setKey(java.lang.String) ,public void setSecret(java.lang.String) <variables>protected org.pac4j.oauth.config.OAuth20Configuration configuration