class CustomeOAuth2TokenCustomizer implements OAuth2TokenCustomizer<OAuth2TokenClaimsContext> {
	@Override
	public void customize(OAuth2TokenClaimsContext context) {<FILL_FUNCTION_BODY>}
}

		OAuth2TokenClaimsSet.Builder claims = context.getClaims();
		AbstractAuthenticationToken authenticationToken = context.getAuthorizationGrant();

		if (authenticationToken instanceof BaseAuthenticationToken baseAuthenticationToken) {
			LoginAppUser user = (LoginAppUser) context.getPrincipal().getPrincipal();
			claims.claim(SecurityConstants.DETAILS_USER_ID, user.getId());
			claims.claim(SecurityConstants.USERNAME, user.getUsername());

			String account_type = (String)baseAuthenticationToken.getAdditionalParameters().get(SecurityConstants.ACCOUNT_TYPE_PARAM_NAME);
			claims.claim(SecurityConstants.ACCOUNT_TYPE_PARAM_NAME, account_type);
		}
	
<no_super_class>