@JsonIgnore
    public RefreshToken getRefreshToken() {
        try {
            val refreshTokenObject = getAttribute(OidcProfileDefinition.REFRESH_TOKEN);
            if (refreshTokenObject != null) {
                return new RefreshToken(refreshTokenObject.toString());
            }
            return null;
        } catch (final Exception e) {
            throw new IllegalArgumentException(e);
        }
    }
<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