public void setStateGenerator(final ValueGenerator stateGenerator) {
        assertNotNull("stateGenerator", stateGenerator);
        this.stateGenerator = stateGenerator;
    }
<p>Setter for the field <code>stateGenerator</code>.</p>

@param stateGenerator a {@link ValueGenerator} object
pac4j-oidc/src/main/java/org/pac4j/oidc/config/OidcConfiguration.java