class Doorkeeper::OAuth::Authorization::Code

def custom_attributes

def custom_attributes
  # Custom access token attributes are saved into the access grant,
  # and then included in subsequently generated access tokens.
  @pre_auth.custom_access_token_attributes.to_h.with_indifferent_access
end