1# frozen_string_literal: true 2 3json.access_token @access_token.to_jwt 4json.token_type 'Bearer' 5json.expires_in 1.hour.to_i 6json.refresh_token(@refresh_token.to_jwt) if @refresh_token.present?