@JsonIgnore
    public int getTokenExpirationAdvance() {
        var tokenExpirationAdvance = getAttribute(OidcProfileDefinition.TOKEN_EXPIRATION_ADVANCE);
        if (tokenExpirationAdvance != null) {
            if (tokenExpirationAdvance instanceof Long) {
                return ((Long) tokenExpirationAdvance).intValue();
            } else if (tokenExpirationAdvance instanceof Integer) {
                return (int) tokenExpirationAdvance;
            }
        }
        return 0;
    }
<p>This class is the user profile for sites using OpenID Connect protocol.</p>
<p>It is returned by the {@link org.pac4j.oidc.client.OidcClient}.</p>

@author Michael Remond
@version 1.7.0
pac4j-oidc/src/main/java/org/pac4j/oidc/profile/OidcProfile.java