@JsonIgnore
    public AccessToken toAccessToken() {
        try {
            return accessToken != null ? AccessToken.parse(new JSONObject(accessToken)) : null;
        } catch (final Exception e) {
            throw new IllegalArgumentException(e);
        }
    }
Credentials containing the authorization code sent by the OpenID Connect server.

@author Michael Remond
@author Jerome Leleu
@since 1.7.0
pac4j-oidc/src/main/java/org/pac4j/oidc/credentials/OidcCredentials.java