class Doorkeeper::OAuth::RefreshTokenRequest

def validate_client_match

Other tags:
    See: https://tools.ietf.org/html/draft-ietf-oauth-v2-22#section-1.5 -
def validate_client_match
  return true if refresh_token.application_id.blank?
  client && refresh_token.application_id == client.id
end