@Override
    @JsonIgnore
    public String getAuditablePrincipal() {
        if (userProfile != null) {
            val principal = (Principal) userProfile.getAttribute(Principal.class.getName());
            return principal != null ? principal.getId() : userProfile.getId();
        }
        return AuditableEntity.super.getAuditablePrincipal();
    }
This is {@link OAuth20AccessTokenResponseResult}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-oauth-api/src/main/java/org/apereo/cas/support/oauth/web/response/accesstoken/response/OAuth20AccessTokenResponseResult.java